1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +02:00
copilot/packages/portal-api/test-compose.yml

55 lines
940 B
YAML
Raw Permalink Normal View History

consul:
image: autopilotpattern/consul:0.7.2-r0.8
command: >
/usr/local/bin/containerpilot
/bin/consul agent -server
-config-dir=/etc/consul
-log-level=err
-bootstrap-expect 1
-ui-dir /ui
restart: always
mem_limit: 128m
2017-08-24 22:21:39 +03:00
expose:
- 8500
dns:
2017-08-24 22:21:39 +03:00
- 127.0.0.1
compose-api:
image: joyent/copilot-compose
links:
- consul:consul
expose:
- 4242
env_file:
- ../../_env
environment:
- CONSUL=consul
restart: always
rethinkdb:
image: autopilotpattern/rethinkdb:2.3.5r1
restart: always
mem_limit: 1g
links:
- consul:consul
environment:
- CONSUL=consul
- CONSUL_AGENT=1
2017-08-24 22:21:39 +03:00
expose:
- 8080
- 28015
- 29015
dns:
- 127.0.0.1
api:
build: ./
dockerfile: ./test-Dockerfile
links:
- consul:consul
- rethinkdb:rethinkdb
- compose-api:compose-api
env_file:
- ../../_env
environment:
- CONSUL=consul
dns:
2017-08-24 22:21:39 +03:00
- 127.0.0.1