forked from atlasbot/bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (43 loc) · 908 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
39
40
41
42
43
version: "3"
services:
bot:
restart: "unless-stopped"
tty: true
build: "."
env_file:
- .env
links:
- redis
- lavalink
- mongo
depends_on:
- redis
- lavalink
- mongo
environment:
- LAVALINK_NODES=[{"host":"lavalink","port":59152,"region":"us","password":"youshallnotpass"}]
- REDIS_HOST=redis
- MONGO_URI=mongodb://mongo:27017/antares
lavalink:
restart: "unless-stopped"
image: fredboat/lavalink:v3
env_file:
- lavalink.env
ports:
- 59152:59152
- 2333:2333
redis:
restart: "unless-stopped"
image: "redis"
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- 6379:6379
mongo:
restart: "unless-stopped"
image: mongo:latest
env_file:
- mongo.env
ports:
- 27017:27017
command: mongod --smallfiles --logpath=/dev/null # --quiet