This repository was archived by the owner on Jan 30, 2025. It is now read-only.
generated from ooliver1/bot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.override.yml
More file actions
55 lines (54 loc) · 1.54 KB
/
docker-compose.override.yml
File metadata and controls
55 lines (54 loc) · 1.54 KB
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
version: "3"
services:
bot:
depends_on:
- postgres
- keydb
- lavalink
- gateway-proxy
build:
context: .
dockerfile: vibr/Dockerfile
volumes:
- /var/run/docker.sock:/var/run/docker.sock
pull_policy: build
environment:
TOKEN: ${TOKEN:?No TOKEN provided}
TOTAL_CLUSTERS: ${TOTAL_CLUSTERS:-1}
LAVALINK_FILE: lavalink/alpha.nodes.yml
DB_URI: postgresql://postgres:postgres@postgres:5432/bot
GW_PROXY: ws://gateway-proxy:7878
PROXY_HTTP: http://gateway-proxy:7878
PASSWORD: ${PASSWORD:?No password for LOCAL lavalink provided}
REDIS_URL: redis://keydb:6379
SPOTIFY_CLIENT_ID: ${SPOTIFY_CLIENT_ID:?No Spotify Client ID provided}
SPOTIFY_CLIENT_SECRET: ${SPOTIFY_CLIENT_SECRET:?No Spotify Client secret provided}
LOG_CHANNEL: "1101963855141281912"
ports:
- 127.0.0.1:${PROMETHEUS_PORTS:-6781}:9000
gateway-proxy:
image: ghcr.io/boting-devs/gateway-proxy:vibr-x86-64
environment:
TOKEN: $TOKEN
volumes:
- ./gateway-proxy/config.json:/config.json
postgres:
image: postgres:15
environment:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: bot
PGDATA: /var/lib/postgresql/data/pgdata
keydb:
image: eqalpha/keydb
api:
build:
context: .
dockerfile: api/Dockerfile
pull_policy: build
environment:
DB_URI: postgresql://postgres:postgres@postgres:5432/bot
lavalink:
extends:
file: lavalink/nodes/base.yml
service: lavalink