-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (30 loc) · 875 Bytes
/
docker-compose.yml
File metadata and controls
34 lines (30 loc) · 875 Bytes
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
version: '3.8'
services:
kanbancord:
image: jazper/kanbancord:latest
container_name: kanbancord
environment:
- Discord__Token=y0ur-v3ry-s3cr3t-d1sc0rd.b0t.t0k3n # Ensure you set your discord bot token
- Database__ConnectionString=mongodb://mongo:27017
- Database__Name=KanbanCord # You can change this to your preferred database name, remember to also change the mongodb environment variable MONGO_INITDB_DATABASE
depends_on:
- mongo
restart: always
networks:
- kanbancord_network
mongo:
image: mongo:latest
container_name: mongodb
environment:
- MONGO_INITDB_DATABASE=KanbanCord # Default DB name
volumes:
- mongo_data:/data/db
networks:
- kanbancord_network
restart: always
networks:
kanbancord_network:
driver: bridge
volumes:
mongo_data:
driver: local