mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
8295bd6882
this shall be a progressive process
70 lines
1.2 KiB
YAML
70 lines
1.2 KiB
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:
|
|
- 8001:80
|
|
prometheus:
|
|
extends:
|
|
file: docker-compose.yml
|
|
service: prometheus
|
|
restart: never
|
|
environment:
|
|
- CONSUL=consul
|
|
links:
|
|
- consul:consul
|
|
ports:
|
|
- 9090:9090
|
|
docs:
|
|
extends:
|
|
file: docker-compose.yml
|
|
service: docs
|
|
restart: never
|
|
ports:
|
|
- 80:8081
|