EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit 18f1c058 authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

update emg waiting connected yaml configs

parent 687823d3
No related branches found
No related tags found
No related merge requests found
...@@ -42,7 +42,10 @@ services: ...@@ -42,7 +42,10 @@ services:
environment: environment:
INSTANCE_ID: "prism-view-server_renderer" INSTANCE_ID: "prism-view-server_renderer"
INSTALL_DIR: "/var/www/pvs/dev/" INSTALL_DIR: "/var/www/pvs/dev/"
INIT_SCRIPTS: "/configure.sh /init-db.sh" COLLECT_STATIC: "false"
INIT_SCRIPTS: "/configure.sh /init-db.sh /initialized.sh"
STARTUP_SCRIPTS: "/wait-initialized.sh"
WAIT_SERVICES: "database:5432"
configs: configs:
- source: init-db - source: init-db
target: /init-db.sh target: /init-db.sh
...@@ -67,6 +70,8 @@ services: ...@@ -67,6 +70,8 @@ services:
environment: environment:
INSTANCE_ID: "prism-view-server_cache" INSTANCE_ID: "prism-view-server_cache"
RENDERER_HOST: renderer RENDERER_HOST: renderer
WAIT_SERVICES: "database:5432 renderer:80"
WAIT_TIMEOUT: 300 # wait up to 5 minutes
deploy: deploy:
replicas: 1 replicas: 1
networks: networks:
...@@ -88,6 +93,7 @@ services: ...@@ -88,6 +93,7 @@ services:
environment: environment:
INSTANCE_ID: "prism-view-server_seeder" INSTANCE_ID: "prism-view-server_seeder"
RENDERER_HOST: renderer RENDERER_HOST: renderer
WAIT_SERVICES: "redis:6379 database:5432"
deploy: deploy:
replicas: 0 replicas: 0
networks: networks:
...@@ -100,8 +106,10 @@ services: ...@@ -100,8 +106,10 @@ services:
- env/emg.env - env/emg.env
- env/emg_obs.env - env/emg_obs.env
- env/emg_redis.env - env/emg_redis.env
- env/emg_preprocessor.env
environment: environment:
INSTANCE_ID: "prism-view-server_preprocessor" INSTANCE_ID: "prism-view-server_preprocessor"
WAIT_SERVICES: "redis:6379"
deploy: deploy:
replicas: 1 replicas: 1
networks: networks:
...@@ -126,7 +134,10 @@ services: ...@@ -126,7 +134,10 @@ services:
INSTALL_DIR: "/var/www/pvs/dev/" INSTALL_DIR: "/var/www/pvs/dev/"
SCALEFACTOR: "1" SCALEFACTOR: "1"
IN_MEMORY: "false" IN_MEMORY: "false"
INIT_SCRIPTS: "/configure.sh /init-db.sh" COLLECT_STATIC: "false"
INIT_SCRIPTS: "/configure.sh /init-db.sh /initialized.sh"
STARTUP_SCRIPTS: "/wait-initialized.sh"
WAIT_SERVICES: "redis:6379 database:5432"
configs: configs:
- source: init-db - source: init-db
target: /init-db.sh target: /init-db.sh
......
...@@ -106,6 +106,7 @@ services: ...@@ -106,6 +106,7 @@ services:
- env/vhr18.env - env/vhr18.env
- env/vhr18_obs.env - env/vhr18_obs.env
- env/vhr18_redis.env - env/vhr18_redis.env
- env/vhr18_preprocessor.env
environment: environment:
INSTANCE_ID: "prism-view-server_preprocessor" INSTANCE_ID: "prism-view-server_preprocessor"
WAIT_SERVICES: "redis:6379" WAIT_SERVICES: "redis:6379"
......
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