add caddy, move timetracked to the main one
This commit is contained in:
parent
2d014c515f
commit
c0cc60031b
4
.env
4
.env
|
@ -38,4 +38,6 @@ GITEA_INTERNAL_PORT=3002
|
||||||
UPTIME_KUMA_EXTERNAL_PORT=3004
|
UPTIME_KUMA_EXTERNAL_PORT=3004
|
||||||
UPTIME_KUMA_INTERNAL_PORT=3001
|
UPTIME_KUMA_INTERNAL_PORT=3001
|
||||||
LOGSEQ_INTERNAL_PORT=80
|
LOGSEQ_INTERNAL_PORT=80
|
||||||
LOGSEQ_EXTERNAL_PORT=3005
|
LOGSEQ_EXTERNAL_PORT=3005
|
||||||
|
DENDRON_NOTES_EXTERNAL_PORT=2020
|
||||||
|
DENDRON_NOTES_INTERNAL_PORT=2020
|
|
@ -16,3 +16,37 @@ services:
|
||||||
container_name: logseq
|
container_name: logseq
|
||||||
ports:
|
ports:
|
||||||
- "${LOGSEQ_EXTERNAL_PORT}:${LOGSEQ_INTERNAL_PORT}"
|
- "${LOGSEQ_EXTERNAL_PORT}:${LOGSEQ_INTERNAL_PORT}"
|
||||||
|
|
||||||
|
caddy:
|
||||||
|
image: caddy
|
||||||
|
container_name: caddy
|
||||||
|
ports:
|
||||||
|
- "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}"
|
||||||
|
- "${DENDRON_NOTES_EXTERNAL_PORT}:${DENDRON_NOTES_INTERNAL_PORT}"
|
||||||
|
volumes:
|
||||||
|
- "${DOCKER_STORAGE_PATH}/caddy/data:/data"
|
||||||
|
- "${DOCKER_STORAGE_PATH}/caddy/config:/config"
|
||||||
|
- "${DOCKER_STORAGE_PATH}/caddy/Caddyfile:/etc/caddy/Caddyfile"
|
||||||
|
- "${DOCKER_STORAGE_PATH}/caddy/srv:/srv"
|
||||||
|
- "/www/notes:/srv/notes"
|
||||||
|
- "timetracker-static:/srv/timetracker"
|
||||||
|
depends_on:
|
||||||
|
- timetracker
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
timetracker:
|
||||||
|
image: ${REGISTRY_URL}/timetracker
|
||||||
|
container_name: timetracker
|
||||||
|
environment:
|
||||||
|
- TZ=${TZ}
|
||||||
|
- "CSRF_TRUSTED_ORIGINS=https://tracker.kucharczyk.xyz"
|
||||||
|
user: ${PUID}
|
||||||
|
volumes:
|
||||||
|
- "${DOCKER_STORAGE_PATH}/timetracker/db.sqlite3:/home/timetracker/app/src/web/db.sqlite3"
|
||||||
|
- "timetracker-static:/home/timetracker/app/static"
|
||||||
|
ports:
|
||||||
|
- "${TIMETRACKER_EXTERNAL_PORT}:${TIMETRACKER_INTERNAL_PORT}"
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
timetracker-static:
|
||||||
|
|
Loading…
Reference in New Issue