This commit is contained in:
knoflook 2023-10-19 15:43:25 +02:00
parent ab83480668
commit 1760243846
2 changed files with 4 additions and 5 deletions

View File

@ -11,7 +11,7 @@ services:
environment:
- DOMAIN
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost/api/config/"]
test: ["CMD", "curl", "-f", "http://localhost/"]
interval: 15s
timeout: 3s
retries: 2
@ -46,7 +46,7 @@ services:
- source: entrypoint
entrypoint: /custom-entrypoint.sh
mode: 0555
entrypoint: /custom-entrypoint.sh
# entrypoint: /custom-entrypoint.sh
secrets:
- db_password
- secret_key
@ -103,7 +103,7 @@ services:
- source: entrypoint
entrypoint: /custom-entrypoint.sh
mode: 0555
entrypoint: /custom-entrypoint.sh
#entrypoint: /custom-entrypoint.sh
networks:
- internal
secrets:
@ -174,8 +174,7 @@ configs:
template_driver: golang
entrypoint:
name: ${STACK_NAME}_entrypoint_${ENTRYPOINT_VERSION}
file: entrypoint.sh.tmpl
template_driver: golang
file: entrypoint.sh
secrets:
db_password: