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

109 lines
2.8 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}"
profiles:
- infra
- base
restart: unless-stopped
logseq:
image: ghcr.io/logseq/logseq-webapp:latest
container_name: logseq
ports:
- "${LOGSEQ_EXTERNAL_PORT}:${LOGSEQ_INTERNAL_PORT}"
profiles:
- base
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"
profiles:
- infra
- base
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/db.sqlite3"
- "timetracker-static:/home/timetracker/app/static"
depends_on:
- caddy
profiles:
- base
restart: unless-stopped
dokku:
image: dokku/dokku:0.29.4
container_name: dokku
environment:
- "DOKKU_HOSTNAME=192.168.0.106"
- "DOKKU_HOST_ROOT=/var/lib/dokku/home/dokku"
volumes:
- "${DOCKER_STORAGE_PATH}/dokku:/mnt/dokku"
- "/var/run/docker.sock:/var/run/docker.sock"
ports:
- "${DOKKU_EXTERNAL_PORT_1}:${DOKKU_INTERNAL_PORT_1}"
- "${DOKKU_EXTERNAL_PORT_2}:${DOKKU_INTERNAL_PORT_2}"
- "${DOKKU_EXTERNAL_PORT_3}:${DOKKU_INTERNAL_PORT_3}"
profiles:
- disabled
trilium:
image: zadam/trilium
container_name: trilium
restart: always
environment:
- TRILIUM_DATA_DIR=/home/node/trilium-data
ports:
- "${TRILIUM_EXTERNAL_PORT}:${TRILIUM_INTERNAL_PORT}"
volumes:
- ${DOCKER_STORAGE_PATH}/trilium:/home/node/trilium-data
profiles:
- base
ntfy:
image: binwiederhier/ntfy
container_name: ntfy
command:
- serve
user: ${PUID}:${PGID}
environment:
- TZ=${TZ}
volumes:
- "${DOCKER_STORAGE_PATH}/ntfy/cache:/var/cache/ntfy"
- "${DOCKER_STORAGE_PATH}/ntfy/config:/etc/ntfy"
ports:
- "${NTFY_EXTERNAL_PORT}:${NTFY_INTERNAL_PORT}"
profiles:
- base
- infra
restart: unless-stopped
volumes:
timetracker-static: