forked from requilence/integram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
121 lines (117 loc) · 2.65 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: '3'
volumes:
data-redis: {}
data-mongo: {}
data-mainapp: {}
services:
mongo:
restart: always
image: mongo:3.4
volumes:
- data-mongo:/data/db
expose:
- "27017"
redis:
restart: always
command: redis-server --appendonly yes
image: redis:3.2
expose:
- "6379"
volumes:
- data-redis:/data
integram:
image: integram/integram:latest
restart: always
volumes:
- data-mainapp:/app/.conf
links:
- mongo
- redis
depends_on:
- mongo
- redis
ports:
- ${INTEGRAM_PORT}:${INTEGRAM_PORT}
environment:
- TZ=UTC
- INTEGRAM_MONGO_URL=mongodb://mongo:27017/integram
- INTEGRAM_REDIS_URL=redis:6379
- INTEGRAM_INSTANCE_MODE=multi-main
- INTEGRAM_CONFIG_DIR=/app/.conf
## required ENV vars
- INTEGRAM_PORT
- INTEGRAM_BASE_URL
trello:
image: integram/trello:latest
restart: always
links:
- mongo
- redis
depends_on:
- integram
environment:
- TZ=UTC
- INTEGRAM_PORT=7000
- INTEGRAM_MONGO_URL=mongodb://mongo:27017/integram
- INTEGRAM_REDIS_URL=redis:6379
- INTEGRAM_INSTANCE_MODE=multi-service
## required ENV vars
- INTEGRAM_BASE_URL
- TRELLO_BOT_TOKEN
- TRELLO_OAUTH_ID
- TRELLO_OAUTH_SECRET
gitlab:
image: integram/gitlab
restart: always
links:
- mongo
- redis
depends_on:
- integram
environment:
- TZ=UTC
- INTEGRAM_PORT=7000
- INTEGRAM_MONGO_URL=mongodb://mongo:27017/integram
- INTEGRAM_REDIS_URL=redis:6379
- INTEGRAM_INSTANCE_MODE=multi-service
## required ENV vars
- INTEGRAM_BASE_URL
- GITLAB_BOT_TOKEN
- GITLAB_OAUTH_ID
- GITLAB_OAUTH_SECRET
bitbucket:
image: integram/bitbucket
restart: always
links:
- mongo
- redis
depends_on:
- integram
environment:
- TZ=UTC
- INTEGRAM_PORT=7000
- INTEGRAM_MONGO_URL=mongodb://mongo:27017/integram
- INTEGRAM_REDIS_URL=redis:6379
- INTEGRAM_INSTANCE_MODE=multi-service
## required ENV vars
- INTEGRAM_BASE_URL
- BITBUCKET_BOT_TOKEN
- BITBUCKET_OAUTH_ID
- BITBUCKET_OAUTH_SECRET
webhook:
image: integram/webhook
restart: always
links:
- mongo
- redis
depends_on:
- integram
environment:
- TZ=UTC
- INTEGRAM_PORT=7000
- INTEGRAM_MONGO_URL=mongodb://mongo:27017/integram
- INTEGRAM_REDIS_URL=redis:6379
- INTEGRAM_INSTANCE_MODE=multi-service
## required ENV vars
- INTEGRAM_BASE_URL
- WEBHOOK_BOT_TOKEN