forked from ChocoMeow/Vocard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
78 lines (73 loc) · 3.04 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
version: "3.8"
services:
lavalink:
image: ghcr.io/azarath7/lavalink-jre22:latest
container_name: lavalink
restart: unless-stopped
environment:
- _JAVA_OPTIONS=-Xmx1G
- SERVER_ADDRESS=0.0.0.0
- SERVER_PORT=2333
- LAVALINK_SERVER_PASSWORD=password
volumes:
## Use "./" if you want to create a mount from your current directory (where docker-compose.yml is located)
## Having access to files INSIDE the container is complicated. Mount function is used to have access to certain container files or folders.
## Read more: https://docs.docker.com/storage/bind-mounts/
- ./application.yml:/opt/Lavalink/application.yml
networks:
- vocardbot
expose:
- "2333"
## You can selfhost MongoDB. Just uncomment lines starting with single "#" below.
# mongo:
# image: mongo:latest
# container_name: mongo
# restart: unless-stopped
# volumes:
# # Use "./" if you want to create a mount from your current directory (where docker-compose.yml is located)
# # Having access to files INSIDE the container is complicated. Mount function is used to have access to certain container files or folders.
# # Read more: https://docs.docker.com/storage/bind-mounts/
# - ./data/mongo/db:/data/db
# - ./data/mongo/conf:/data/configdb
# environment:
# - MONGO_INITDB_ROOT_USERNAME=admin
# - MONGO_INITDB_ROOT_PASSWORD=admin
# expose:
# - "27017"
# networks:
# - local
# command: ["mongod", "--oplogSize=1024", "--wiredTigerCacheSizeGB=1", "--auth", "--noscripting"]
vocard:
#build:
#dockerfile: ./Dockerfile
image: ghcr.io/azarath7/vocard-dashboard:latest
container_name: vocard
volumes:
- ./settings.json:/app/settings.json
- ./logs/supervisor/:/var/log
environment:
- TOKEN=XXXXXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXX
- CLIENT_ID=123456789012345678
- CLIENT_SECRET_ID=XXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXX
- SERCET_KEY=DASHBOARD_SERCET_KEY
- BUG_REPORT_CHANNEL_ID=123456789012345678
- SPOTIFY_CLIENT_ID=0XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- SPOTIFY_CLIENT_SECRET=0XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- GENIUS_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- MONGODB_URL=mongodb+srv://user:password@clusterURL
- MONGODB_NAME=YOUR_MONGODB_NAME
- REDIRECT_URI=http://YOUR_PUBLIC_IP:37123
depends_on:
lavalink:
condition: service_started
# mongo:
# condition: service_started
networks:
- vocardbot
## Uncomment to use the dashboard
## These ports are in format <host-port>:<container-port>
#ports:
#- 37123:37123
networks:
vocardbot:
name: vocardbot