From e209b5a7c080d073f052fef390ad5e3ee2b2cb51 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 26 Jan 2023 08:19:16 +0100 Subject: [PATCH] create profiles --- docker-compose.yml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a2da583..6076646 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,6 +9,9 @@ services: - "/var/run/docker.sock:/var/run/docker.sock" ports: - "${UPTIME_KUMA_EXTERNAL_PORT}:${UPTIME_KUMA_INTERNAL_PORT}" + profiles: + - infra + - base restart: unless-stopped logseq: @@ -16,6 +19,8 @@ services: container_name: logseq ports: - "${LOGSEQ_EXTERNAL_PORT}:${LOGSEQ_INTERNAL_PORT}" + profiles: + - base caddy: image: caddy @@ -31,8 +36,9 @@ services: # - "${DOCKER_STORAGE_PATH}/caddy/srv:/srv" - "/www/notes:/srv/notes" - "timetracker-static:/srv/timetracker" - depends_on: - - timetracker + profiles: + - infra + - base restart: unless-stopped timetracker: @@ -45,6 +51,10 @@ services: 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: @@ -60,6 +70,8 @@ services: - "${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 @@ -71,6 +83,8 @@ services: - "${TRILIUM_EXTERNAL_PORT}:${TRILIUM_INTERNAL_PORT}" volumes: - ${DOCKER_STORAGE_PATH}/trilium:/home/node/trilium-data + profiles: + - base volumes: timetracker-static: