-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
50 lines (45 loc) · 1.01 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
version: '3'
volumes:
mongo_volume:
services:
mongo:
image: mongo
container_name: mongo
env_file: .env
ports:
- "27017:27017"
volumes:
- mongo_volume:/data/db
bot:
build:
context: .
dockerfile: Dockerfile
container_name: bot
command: python -m bot.jack
depends_on:
- mongo
volumes:
- .:/bot
env_file: .env
session-watcher:
build:
context: .
dockerfile: Dockerfile
container_name: session-watcher
command: python -m watchers.session
depends_on:
- mongo
volumes:
- .:/bot
env_file: .env
ticket-watcher:
build:
context: .
dockerfile: Dockerfile
container_name: ticket-watcher
command: python -m watchers.ticket
depends_on:
- mongo
volumes:
- .:/bot
env_file: .env