Skip to content

Commit e39b242

Browse files
committed
Docker setup: add nginx -> MSL-API dependency
The MSL-API container needs to be up before the Nginx container can start. Otherwise Nginx may fail to start due to the upstream server (MSL-API) not being available yet.
1 parent 4649bb9 commit e39b242

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docker/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ services:
4848
nginx:
4949
container_name: nginx
5050
image: ghcr.io/utrechtuniversity/epos-msl-cat-nginx:latest
51+
depends_on:
52+
- mslapi_webserver
5153
environment:
5254
- EPOS_MSL_HOST=${EPOS_MSL_HOST}
5355
- EPOS_MSL_HOST_PORT=${EPOS_MSL_HOST_PORT}

0 commit comments

Comments
 (0)