Skip to content

Commit

Permalink
define PORT in docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
saerdnaer committed Nov 22, 2018
1 parent dcee122 commit e652a37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ services:
- 8080:8080
links: ['c3d-graphql']
command: yarn start
environment:
- PORT=8080
c3d-graphql:
build: c3d-graphql
depends_on: ['postgres']
command: npx postgraphile -c "postgres://graphql:graphql@postgres/c3data" -n 0.0.0.0 --watch
links: ['postgres']
ports: ['5000:5000']
environment:
- PORT=5000
postgres:
image: postgres:10.5
environment:
Expand Down

0 comments on commit e652a37

Please sign in to comment.