Skip to content

Commit c0deb82

Browse files
committed
Use DOLOS_API_URL in healthcheck
1 parent 1cb2eb4 commit c0deb82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ services:
5858
healthcheck:
5959
start_period: 2s
6060
interval: 10s
61-
test: curl --fail http://localhost:3000/up || exit 1
61+
test: curl --fail "$$DOLOS_API_URL/up" || exit 1
6262
worker:
6363
image: ghcr.io/dodona-edu/dolos-api
6464
# build: ./api/

0 commit comments

Comments
 (0)