-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
33 lines (32 loc) · 891 Bytes
/
docker-compose.yml
File metadata and controls
33 lines (32 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
version: '2'
services:
mongo-express:
image: autopilotpattern/mongo-express
restart: always
mem_limit: "512m"
environment:
- ME_CONFIG_OPTIONS_EDITORTHEME=ambiance
# ME_CONFIG_MONGODB_SERVER will get re-written by consul-template
- ME_CONFIG_MONGODB_SERVER=mongodb
labels:
- triton.cns.services=mongo-express
network_mode: bridge
env_file: _env
ports:
- 8081
mongodb:
extends:
file: local-compose.yml
service: mongodb
mem_limit: 4g
labels:
- triton.cns.services=mongod
network_mode: bridge
env_file: _env
consul:
extends:
file: local-compose.yml
service: consul
labels:
- triton.cns.services=consul
network_mode: bridge