2016-10-14 13:57:26 +03:00
|
|
|
#############################################################################
|
|
|
|
# CONSUL
|
|
|
|
#############################################################################
|
2016-10-20 19:47:37 +03:00
|
|
|
consul:
|
|
|
|
image: progrium/consul:latest
|
|
|
|
labels:
|
|
|
|
- triton.cns.services=consul
|
|
|
|
restart: always
|
|
|
|
mem_limit: 128m
|
|
|
|
expose:
|
|
|
|
- 53
|
|
|
|
- 8300
|
|
|
|
- 8301
|
|
|
|
- 8302
|
|
|
|
- 8400
|
|
|
|
- 8500
|
|
|
|
env_file: .env
|
|
|
|
ports:
|
|
|
|
- 8500:8500
|
|
|
|
command: -server -bootstrap -ui-dir /ui
|
2016-10-17 18:41:17 +03:00
|
|
|
#############################################################################
|
|
|
|
# CloudAPI GraphQL
|
|
|
|
#############################################################################
|
2016-10-20 19:47:37 +03:00
|
|
|
cloudapi:
|
2016-10-21 13:50:37 +03:00
|
|
|
image: quay.io/yldio/joyent-dashboard-cloudapi-graphql
|
2016-10-20 19:47:37 +03:00
|
|
|
mem_limit: 128m
|
|
|
|
labels:
|
|
|
|
- triton.cns.services=cloudapi
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
- PORT=3000
|
|
|
|
ports:
|
|
|
|
- 3000:3000
|
2016-10-20 15:36:24 +03:00
|
|
|
#############################################################################
|
|
|
|
# Frontend
|
|
|
|
#############################################################################
|
2016-10-20 19:47:37 +03:00
|
|
|
backend:
|
2016-10-21 13:50:37 +03:00
|
|
|
image: quay.io/yldio/joyent-dashboard-cloudapi-backend
|
2016-10-20 19:47:37 +03:00
|
|
|
mem_limit: 128m
|
|
|
|
labels:
|
|
|
|
- triton.cns.services=backend
|
|
|
|
env_file: .env
|
|
|
|
environment:
|
|
|
|
- PORT=8000
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|