-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
65 lines (57 loc) · 1.2 KB
/
docker-compose.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
redis:
image: redis
command: redis-server --appendonly yes
mongodb:
image: mongo
doc-worker:
dockerfile: ./doc-worker.docker
build: ./
links:
- redis
- mongodb
environment:
- NODE_ENV=dev
env_file: ./secrets.env
log_driver: syslog
log_opt:
syslog-tag: "{{.Name}}"
syslog-address: "udp://logs3.papertrailapp.com:11565"
api-server:
dockerfile: ./api-server.docker
build: ./
links:
- redis
ports:
- 3420:3420
environment:
- NODE_ENV=dev
env_file: ./secrets.env
log_driver: syslog
log_opt:
syslog-tag: "{{.Name}}"
syslog-address: "udp://logs3.papertrailapp.com:11565"
web-server:
dockerfile: ./web-server.docker
build: ./
links:
- mongodb
- redis
ports:
- 8030:8080
restart: always
environment:
- NODE_ENV=dev
env_file: ./secrets.env
log_driver: syslog
log_opt:
syslog-tag: "{{.Name}}"
syslog-address: "udp://logs3.papertrailapp.com:11565"
datadog:
image: datadog/docker-dd-agent
environment:
- API_KEY=df041f65c73f69be462b9922a9bb9167
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /proc/mounts:/host/proc/mounts:ro
- /sys/fs/cgroup:/host/sys/fs/cgroup:ro
privileged: true