-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
51 lines (48 loc) · 1.11 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
version: '3.7'
services:
ada:
build:
context: .
dockerfile: ./docker/ada.Dockerfile
ports:
- 5001:5001
volumes:
- ./ada:/ada
networks:
- adanetwork
environment:
- ACCESS_TOKEN=${ACCESS_TOKEN}
- BOT_NAME=${BOT_NAME}
- WEBHOOK_URL=${WEBHOOK_URL}
depends_on:
- actions
- mongo-telegram
actions:
build:
context: .
dockerfile: ./docker/actions.Dockerfile
ports:
- 5055:5055
volumes:
- ./adabot/actions:/ada/actions
- ./adabot/Makefile:/ada/Makefile
environment:
- ACCESS_TOKEN=${ACCESS_TOKEN}
- GITHUB_SERVICE_URL=${GITHUB_SERVICE_URL}
- GITLAB_SERVICE_URL=${GITLAB_SERVICE_URL}
- GITHUB_SIGNUP_URL=${GITHUB_SIGNUP_URL}
- CLIENT_ID_GITHUB=${CLIENT_ID_GITHUB}
- CLIENT_ID_GITLAB=${CLIENT_ID_GITLAB}
- GITLAB_SIGNUP_URL=${GITLAB_SIGNUP_URL}
networks:
- adanetwork
command: "make run-actions"
mongo-telegram:
image: mongo
volumes:
- /mongo_telegram:/data/db
ports:
- 27017:27017
networks:
adanetwork:
driver: "bridge"