-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
58 lines (55 loc) · 1.36 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
version: '3.6'
networks:
interrogative:
name: interrogative
interrogative-db:
name: interrogative-db
services:
manager:
image: interrogative-manager:latest
container_name: interrogative-manager
networks:
- interrogative
- interrogative-db
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 0.0.0.0:1311:1311
environment:
- INTERROGATIVE_ADMIN_EMAIL
- INTERROGATIVE_ADMIN_PASSWORD
- INTERROGATIVE_AUTO_REMOVE
depends_on:
- mongo
messenger:
image: interrogative-messenger:latest
container_name: interrogative-messenger
networks:
- interrogative-db
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- 0.0.0.0:25:25
- 0.0.0.0:587:587
environment:
- INTERROGATIVE_MAIL_HOST
- INTERROGATIVE_MAIL_PORT
- INTERROGATIVE_MAIL_USER
- INTERROGATIVE_MAIL_PASSWORD
depends_on:
- mongo
mongo:
image: interrogative-mongo:latest
container_name: interrogative-mongo
networks:
- interrogative-db
volumes:
- interrogative-data:/data/db
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
volumes:
interrogative-data:
name: interrogative-data