Skip to content

Commit

Permalink
Add health dependency for webdav-nginx-apache-subpath
Browse files Browse the repository at this point in the history
Should fix flaky test environment startup
  • Loading branch information
alexbakker committed Oct 18, 2024
1 parent 0c87f24 commit 37f4bd7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,13 @@ services:
volumes:
- *vol-data
- "./servers/nginx-apache-subpath/default.conf.tmpl:/etc/nginx/http.d/default.conf.tmpl"
networks:
default:
aliases:
- nginx
ports:
- "8005:80"
environment:
- NGINX_PORT=80
depends_on:
webdav-apache-subpath:
condition: service_healthy
healthcheck:
test: "curl -v --fail-with-body -L -X PROPFIND -H 'Depth: 1' http://127.0.0.1/webdav || exit 1"
start_period: 5s
Expand Down

0 comments on commit 37f4bd7

Please sign in to comment.