Commit 19cafa33 authored by Ignacio Hagopian's avatar Ignacio Hagopian

docker-compose: fix args and add depends_on

parent a26e11be
......@@ -66,7 +66,7 @@ services:
target: dev
dockerfile: cmd/web-app/Dockerfile
args:
service: 'web-app'
name: 'web-app'
volumes:
- ./:/go/src/gitlab.com/geeks-accelerator/oss/saas-starter-kit
ports:
......@@ -76,6 +76,10 @@ services:
main:
aliases:
- web-app
depends_on:
- postgres
- redis
- datadog
env_file:
- configs/.env_docker_compose
environment:
......@@ -101,7 +105,7 @@ services:
target: dev
dockerfile: cmd/web-api/Dockerfile
args:
service: 'web-api'
name: 'web-api'
volumes:
- ./:/go/src/gitlab.com/geeks-accelerator/oss/saas-starter-kit
ports:
......@@ -111,6 +115,10 @@ services:
main:
aliases:
- web-api
depends_on:
- postgres
- redis
- datadog
env_file:
- configs/.env_docker_compose
environment:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment