1
0
Fork 0
docker-compose-templates/docker-compose.yml

52 lines
1.5 KiB
YAML

version: '3.3'
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptimekuma
volumes:
- "${DOCKER_STORAGE_PATH}/uptimekuma:/app/data"
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "${UPTIME_KUMA_EXTERNAL_PORT}:${UPTIME_KUMA_INTERNAL_PORT}"
restart: unless-stopped
logseq:
image: ghcr.io/logseq/logseq-webapp:latest
container_name: logseq
ports:
- "${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}"
user: ${PUID}
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"
restart: unless-stopped
volumes:
timetracker-static: