1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-11 05:40:11 +02:00
copilot/local-compose.yml
2016-11-02 16:13:15 +00:00

52 lines
892 B
YAML

consul:
extends:
file: docker-compose.yml
service: consul
ports:
- 8500:8500
cloudapi:
extends:
file: docker-compose.yml
service: cloudapi
build: ./cloudapi-graphql
links:
- consul:consul
environment:
- PORT=3000
- ROOT_URL=http://localhost:3000
- CONSUL=consul
frontend:
extends:
file: docker-compose.yml
service: frontend
build: ./frontend
links:
- consul:consul
environment:
- PORT=8000
- ROOT_URL=http://localhost:8000
- CONSUL=consul
ui:
extends:
file: docker-compose.yml
service: ui
build: ./ui
links:
- consul:consul
environment:
- PORT=8080
- ROOT_URL=http://localhost:8080
- CONSUL=consul
nginx:
extends:
file: docker-compose.yml
service: nginx
build: ./nginx
restart: never
environment:
- CONSUL=consul
links:
- consul:consul
ports:
- 80