Skip to content
Snippets Groups Projects
Commit fc7db463 authored by Nils Schneider's avatar Nils Schneider
Browse files

change links to depends_on

This causes containers to be started in dependency order and this
was the actual intention. Links are implicit by default.
parent 86d48561
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ version: '3'
services:
web:
build: web
links:
depends_on:
- backend
environment:
ICEBOX_API_HOST: backend
......@@ -12,11 +12,11 @@ services:
build: alias
environment:
- ICEBOX_DB_URL=postgresql://icebox:clubmate42@database/icebox
links:
depends_on:
- database
backend:
build: backend
links:
depends_on:
- database
environment:
ICEBOX_DB_HOST: database
......@@ -30,7 +30,7 @@ services:
- "80:80"
- "8081:8081"
- "8085:8085"
links:
depends_on:
- web
- alias
- backend
......
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