diff --git a/compose.yaml b/compose.yaml index d6bda02d..a0649160 100644 --- a/compose.yaml +++ b/compose.yaml @@ -17,11 +17,6 @@ services: interval: 10s timeout: 5s retries: 5 - build: - context: . - args: - FLUXER_BUILD_CONFIG: | - { "domain": { "base_domain": "${FLUXER_BASE_DOMAIN}", "static_cdn_domain": "fluxerstatic.com", "public_scheme": "https", "public_port": 443 } } logging: *default-logging fluxer_server: @@ -42,6 +37,11 @@ services: volumes: - ./config:/usr/src/app/config:ro - fluxer_data:/usr/src/app/data + build: + context: . + args: + FLUXER_BUILD_CONFIG: | + { "domain": { "base_domain": "${FLUXER_BASE_DOMAIN}", "static_cdn_domain": "fluxerstatic.com", "public_scheme": "https", "public_port": 443 } } healthcheck: test: ['CMD-SHELL', 'curl -fsS http://127.0.0.1:8080/_health || exit 1'] interval: 15s