1
0
Fork 0

create profiles

This commit is contained in:
Lukáš Kucharczyk 2023-01-26 08:19:16 +01:00
parent ff0ce66dcf
commit e209b5a7c0
1 changed files with 16 additions and 2 deletions

View File

@ -9,6 +9,9 @@ services:
- "/var/run/docker.sock:/var/run/docker.sock" - "/var/run/docker.sock:/var/run/docker.sock"
ports: ports:
- "${UPTIME_KUMA_EXTERNAL_PORT}:${UPTIME_KUMA_INTERNAL_PORT}" - "${UPTIME_KUMA_EXTERNAL_PORT}:${UPTIME_KUMA_INTERNAL_PORT}"
profiles:
- infra
- base
restart: unless-stopped restart: unless-stopped
logseq: logseq:
@ -16,6 +19,8 @@ services:
container_name: logseq container_name: logseq
ports: ports:
- "${LOGSEQ_EXTERNAL_PORT}:${LOGSEQ_INTERNAL_PORT}" - "${LOGSEQ_EXTERNAL_PORT}:${LOGSEQ_INTERNAL_PORT}"
profiles:
- base
caddy: caddy:
image: caddy image: caddy
@ -31,8 +36,9 @@ services:
# - "${DOCKER_STORAGE_PATH}/caddy/srv:/srv" # - "${DOCKER_STORAGE_PATH}/caddy/srv:/srv"
- "/www/notes:/srv/notes" - "/www/notes:/srv/notes"
- "timetracker-static:/srv/timetracker" - "timetracker-static:/srv/timetracker"
depends_on: profiles:
- timetracker - infra
- base
restart: unless-stopped restart: unless-stopped
timetracker: timetracker:
@ -45,6 +51,10 @@ services:
volumes: volumes:
- "${DOCKER_STORAGE_PATH}/timetracker/db.sqlite3:/home/timetracker/app/db.sqlite3" - "${DOCKER_STORAGE_PATH}/timetracker/db.sqlite3:/home/timetracker/app/db.sqlite3"
- "timetracker-static:/home/timetracker/app/static" - "timetracker-static:/home/timetracker/app/static"
depends_on:
- caddy
profiles:
- base
restart: unless-stopped restart: unless-stopped
dokku: dokku:
@ -60,6 +70,8 @@ services:
- "${DOKKU_EXTERNAL_PORT_1}:${DOKKU_INTERNAL_PORT_1}" - "${DOKKU_EXTERNAL_PORT_1}:${DOKKU_INTERNAL_PORT_1}"
- "${DOKKU_EXTERNAL_PORT_2}:${DOKKU_INTERNAL_PORT_2}" - "${DOKKU_EXTERNAL_PORT_2}:${DOKKU_INTERNAL_PORT_2}"
- "${DOKKU_EXTERNAL_PORT_3}:${DOKKU_INTERNAL_PORT_3}" - "${DOKKU_EXTERNAL_PORT_3}:${DOKKU_INTERNAL_PORT_3}"
profiles:
- disabled
trilium: trilium:
image: zadam/trilium image: zadam/trilium
@ -71,6 +83,8 @@ services:
- "${TRILIUM_EXTERNAL_PORT}:${TRILIUM_INTERNAL_PORT}" - "${TRILIUM_EXTERNAL_PORT}:${TRILIUM_INTERNAL_PORT}"
volumes: volumes:
- ${DOCKER_STORAGE_PATH}/trilium:/home/node/trilium-data - ${DOCKER_STORAGE_PATH}/trilium:/home/node/trilium-data
profiles:
- base
volumes: volumes:
timetracker-static: timetracker-static: