Skip to content
Snippets Groups Projects
Commit 381ed263 authored by Steffen Vogel's avatar Steffen Vogel :santa_tone2:
Browse files

wait until database and broker are ready before starting backend

parent 8f2c2766
No related branches found
No related tags found
No related merge requests found
Pipeline #199819 failed
Subproject commit da9279c2a18e711ddfaf5206fc296f50ab87079c
Subproject commit 56c50026bf51b174d527a5258b92ac7b96fc152b
......@@ -26,10 +26,16 @@ services:
LOG_LEVEL: info
LOG_FILE: villasweb-backend_log.txt
DEFAULT_ADMIN: "true"
command: [
"wait-for", "broker:5672", "--",
"wait-for", "database:27017", "--",
"npm", "start"
]
volumes:
- files:/usr/src/app/public/
depends_on:
- broker
- database
restart: always
# A single reverse proxy for all our services
......
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