EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit a7548f26 authored by Fabian Schindler's avatar Fabian Schindler
Browse files

Adding configs to wait for other services

parent 6e4e6756
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,7 @@ services:
INSTANCE_ID: "prism-view-server_renderer"
INSTALL_DIR: "/var/www/pvs/dev/"
INIT_SCRIPTS: "/configure.sh /init-db.sh"
WAIT_SERVICES: "database:5432"
configs:
- source: init-db
target: /init-db.sh
......@@ -66,6 +67,7 @@ services:
environment:
INSTANCE_ID: "prism-view-server_cache"
RENDERER_HOST: renderer
WAIT_SERVICES: "database:5432"
deploy:
replicas: 1
networks:
......@@ -87,6 +89,7 @@ services:
environment:
INSTANCE_ID: "prism-view-server_seeder"
RENDERER_HOST: renderer
WAIT_SERVICES: "redis:6379 database:5432"
deploy:
replicas: 0
networks:
......@@ -101,6 +104,7 @@ services:
- env/vhr18_redis.env
environment:
INSTANCE_ID: "prism-view-server_preprocessor"
WAIT_SERVICES: "redis:6379"
deploy:
replicas: 1
networks:
......@@ -126,6 +130,7 @@ services:
SCALEFACTOR: "1"
IN_MEMORY: "false"
INIT_SCRIPTS: "/configure.sh /init-db.sh"
WAIT_SERVICES: "redis:6379 database:5432"
configs:
- source: init-db
target: /init-db.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment