From 26eb5887ba345955dc2f4f45f583a65d8d89b9bb Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Thu, 6 Feb 2025 15:35:47 -0500 Subject: [PATCH] Fix various compose syntax issues --- compose.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/compose.yml b/compose.yml index 82aa66b..f538700 100644 --- a/compose.yml +++ b/compose.yml @@ -24,11 +24,6 @@ services: configs: - source: nginx_config target: /etc/nginx/nginx.conf - healthcheck: - test: curl -f http://app:9000/v1/api/ping || exit 1 - interval: 5s - timeout: 3s - retries: 20 deploy: restart_policy: condition: on-failure @@ -37,8 +32,6 @@ services: order: start-first rollback_config: order: start-first - restart_policy: - max_attempts: 10 labels: - "traefik.enable=true" - "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80" @@ -92,13 +85,14 @@ services: db: image: postgres:10-alpine + entrypoint: "/docker-entrypoint.upgrade.sh" environment: - POSTGRES_USER=peertube - - POSTGRES_PASSWORD_FILE=/run/secrets/db_password - POSTGRES_DB=peertube + - POSTGRES_PASSWORD_FILE=/run/secrets/db_password configs: - source: db_entrypoint - target: /docker-entrypoint.sh + target: /docker-entrypoint.upgrade.sh mode: 0555 secrets: - db_password