fix compose files

This commit is contained in:
Moritz 2024-07-15 22:30:33 +02:00
parent bd83587abe
commit 1d80415fc9
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
version: '3.8' version: '3.8'
services: services:
api: app:
environment: environment:
- OAUTH_ENABLED - OAUTH_ENABLED
- OAUTH_NAME - OAUTH_NAME

View File

@ -27,11 +27,12 @@ services:
secrets: secrets:
- jwt_secret - jwt_secret
- db_password - db_password
restart: unless-stopped
configs: configs:
- source: config_yml - source: config_yml
target: /etc/vikunja/config.yml target: /etc/vikunja/config.yml
deploy: deploy:
restart_policy:
condition: unless-stopped
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
# - "traefik.docker.network=web" # - "traefik.docker.network=web"
@ -65,9 +66,9 @@ services:
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"] test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]
interval: 2s interval: 2s
networks: networks:
- internal - internal
secrets: secrets:
- db_password - db_password
deploy: deploy:
labels: labels:
backupbot.backup: "true" backupbot.backup: "true"