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

77 lines
2.2 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/db.sqlite3"
- "timetracker-static:/home/timetracker/app/static"
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}"
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
volumes:
timetracker-static: