From 1d80415fc9268087461109f2234a30e5c815f585 Mon Sep 17 00:00:00 2001 From: Moritz Date: Mon, 15 Jul 2024 22:30:33 +0200 Subject: [PATCH] fix compose files --- compose.oauth.yml | 2 +- compose.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/compose.oauth.yml b/compose.oauth.yml index 9d85209..062f03a 100644 --- a/compose.oauth.yml +++ b/compose.oauth.yml @@ -1,7 +1,7 @@ version: '3.8' services: - api: + app: environment: - OAUTH_ENABLED - OAUTH_NAME diff --git a/compose.yml b/compose.yml index 3ca30f4..9be8785 100644 --- a/compose.yml +++ b/compose.yml @@ -27,11 +27,12 @@ services: secrets: - jwt_secret - db_password - restart: unless-stopped configs: - source: config_yml target: /etc/vikunja/config.yml deploy: + restart_policy: + condition: unless-stopped labels: - "traefik.enable=true" # - "traefik.docker.network=web" @@ -65,9 +66,9 @@ services: test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"] interval: 2s networks: - - internal + - internal secrets: - - db_password + - db_password deploy: labels: backupbot.backup: "true"