Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions blueprints/openhabittracker/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
version: "3"

services:
openhabittracker:
image: jinjinov/openhabittracker:latest
ports:
- '8080'
environment:
AppSettings__UserName: ${OHT_USERNAME}
AppSettings__Email: ${OHT_EMAIL}
AppSettings__Password: ${OHT_PASSWORD}
AppSettings__JwtSecret: ${OHT_JWT_SECRET}
volumes:
- openhabittracker-data:/app/.OpenHabitTracker
restart: unless-stopped

volumes:
openhabittracker-data:
19 changes: 19 additions & 0 deletions blueprints/openhabittracker/meta.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"id": "openhabittracker",
"name": "OpenHabitTracker",
"version": "latest",
"description": "Take notes, plan tasks and track habits - free, ad-free, open source, with all data on your own server. Native apps for Windows, Linux, Android, iOS and macOS sync to it.",
"logo": "openhabittracker.png",
"links": {
"github": "https://github.com/Jinjinov/OpenHabitTracker",
"website": "https://openhabittracker.net",
"docs": ""
},
"tags": [
"productivity",
"notes",
"tasks",
"habits",
"self-hosted"
]
}
Binary file added blueprints/openhabittracker/openhabittracker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions blueprints/openhabittracker/template.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[variables]
main_domain = "${domain}"
admin_password = "${password:24}"
jwt_secret = "${base64:48}"

[config]
[[config.domains]]
serviceName = "openhabittracker"
port = 8_080
host = "${main_domain}"

[config.env]
OHT_USERNAME = "admin"
OHT_EMAIL = "admin@example.com"
OHT_PASSWORD = "${admin_password}"
OHT_JWT_SECRET = "${jwt_secret}"
Loading