-
Notifications
You must be signed in to change notification settings - Fork 7
/
docker-compose.prod.yml
68 lines (61 loc) · 1.16 KB
/
docker-compose.prod.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
64
65
66
67
68
db:
restart: always
volumes:
- './data/mysql:/var/lib/mysql'
redis:
restart: always
sshd:
restart: always
ports:
- "2223:22"
volumes:
- './data/sshd/server_keys:/etc/ssh/keys'
- './data/sshd/user_keys:/home/cdx-sync/.ssh'
- './data/sshd/sync:/home/cdx-sync/sync'
elasticsearch:
restart: always
command: elasticsearch -Des.cluster.name=cdx
volumes:
- './data/elasticsearch:/usr/share/elasticsearch/data'
web:
image: instedd/cdx:latest
restart: always
links:
- db
- sshd
- redis
- elasticsearch
env_file: docker.env
ports:
- 80:80
volumes:
- './settings.local.yml:/app/config/settings.local.yml'
- './client_version.json:/app/public/client/version.json'
volumes_from:
- sshd
sidekiq:
image: instedd/cdx:latest
restart: always
links:
- db
- elasticsearch
- redis
env_file: docker.env
csv_watch:
image: instedd/cdx:latest
restart: always
links:
- db
- sshd
- elasticsearch
env_file: docker.env
volumes_from:
- sshd
ftp_monitor:
image: instedd/cdx:latest
restart: always
links:
- db
- sshd
- elasticsearch
env_file: docker.env