forked from saiteja-madha/discord-js-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
38 lines (34 loc) · 874 Bytes
/
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
version: "4"
services:
discord-js-bot:
image: saitejamadha/discord-js-bot:5.4.0
container_name: discord-js-bot
restart: unless-stopped
networks:
- discord-js-net
volumes:
- ./config.js:/usr/src/app/config.js:ro
- ./logs:/usr/src/app/logs:rw
lavalink:
image: fredboat/lavalink:dev
container_name: discord-js-lavalink
hostname: lavalink
restart: unless-stopped
networks:
- discord-js-net
volumes:
- ./application.yml:/opt/Lavalink/application.yml:ro
mongodb:
image: mongo:latest
container_name: discord-js-mongodb
restart: unless-stopped
networks:
- discord-js-net
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=supersecretpassword
volumes:
- ./data:/data/db:rw
networks:
discord-js-net:
name: discord-js-net