Browse Source

Added depends_on to docker-compose files

update-deps
Alex Mikhalev 7 years ago
parent
commit
4544b61e6f
  1. 2
      docker-compose.dev.yml
  2. 2
      docker-compose.yml

2
docker-compose.dev.yml

@ -5,6 +5,8 @@ services: @@ -5,6 +5,8 @@ services:
build:
context: .
dockerfile: Dockerfile.dev
depends_on:
- database
ports:
- "8080:8080"
- "8081:8081"

2
docker-compose.yml

@ -3,6 +3,8 @@ services: @@ -3,6 +3,8 @@ services:
web:
image: "amikhalev/sprinklers3"
build: .
depends_on:
- database
ports:
- "8080:8080"
env_file:

Loading…
Cancel
Save