joyent-portal/docker-compose.yml

47 lines
1.2 KiB
YAML
Raw Normal View History

2016-10-14 13:57:26 +03:00
#############################################################################
# CONSUL
#############################################################################
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
#############################################################################
cloudapi:
image: quay.io/yldio/joyent-dashboard-cloudapi-graphql:latest
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-24 18:31:05 +03:00
frontend:
image: quay.io/yldio/joyent-dashboard-frontend:latest
mem_limit: 128m
labels:
2016-10-24 18:31:05 +03:00
- triton.cns.services=frontend
env_file: .env
environment:
- PORT=8000
ports:
- 8000:8000