We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7dccd7 commit ec32820Copy full SHA for ec32820
docker-compose-dev.yaml
@@ -108,7 +108,12 @@ services:
108
- api
109
- firebase_auth
110
healthcheck:
111
- test: curl --fail http://localhost:8080/healthcheck || exit 1
+ test:
112
+ - CMD
113
+ - /nodejs/bin/node
114
+ - --input-type=module
115
+ - -e
116
+ - "process.exit((await fetch('http://localhost:${APP_PORT:-8080}/healthcheck')).status == 200 ? 0 : 1)"
117
interval: 10s
118
timeout: 60s
119
retries: 1
0 commit comments