-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
36 lines (35 loc) · 860 Bytes
/
docker-compose.yml
File metadata and controls
36 lines (35 loc) · 860 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
34
35
36
version: '2.1'
services:
influxdb:
image: autopilotpattern/influxdb:latest
mem_limit: 4g
restart: always
ports:
- "8083:8083"
- "8086:8086"
labels:
- triton.cns.services=influxdb
env_file: _env
network_mode: bridge
consul:
image: autopilotpattern/consul:0.7.2-r0.8
command: >
/usr/local/bin/containerpilot
/bin/consul agent -server
-bootstrap
-bootstrap-expect 3
-config-dir=/etc/consul
-ui-dir /ui
restart: always
mem_limit: 128m
ports:
- "8500:8500"
expose:
- "53"
- "8300-8302"
- "8400"
dns:
- 127.0.0.1
labels:
- triton.cns.services=consul
network_mode: bridge