This repository was archived by the owner on Jan 14, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
64 lines (58 loc) · 1.33 KB
/
docker-compose.yml
File metadata and controls
64 lines (58 loc) · 1.33 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
56
57
58
59
60
61
62
63
64
version: '3.5'
services:
bongo-bot:
build: .
develop:
watch:
- action: rebuild
path: requirements.txt
env_file:
- .env
environment:
DISCORD_TOKEN: ${DISCORD_TOKEN}
DATABASE_DATABASE: ${POSTGRES_DATABASE}
DATABASE_USER: ${POSTGRES_USER}
DATABASE_HOST: postgres
DATABASE_PORT: ${POSTGRES_PORT}
DATABASE_PASSWORD: ${POSTGRES_PASSWORD}
LAVALINK_HOST: lavalink
LAVALINK_PORT: ${LAVALINK_PORT}
LAVALINK_PASSWORD: ${LAVALINK_PASSWORD}
networks:
- lavalink
- postgres
restart: unless-stopped
volumes:
- ./src/:/app/src
lavalink:
image: ghcr.io/lavalink-devs/lavalink:4-alpine
environment:
LAVALINK_SERVER_PASSWORD: ${LAVALINK_PASSWORD}
networks:
- lavalink
ports:
- "2333:2333"
restart: unless-stopped
volumes:
- ./application.yml:/opt/Lavalink/application.yml
- plugins:/opt/Lavalink
postgres:
image: postgres:16
env_file:
- .env
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /data/postgres
networks:
- postgres
ports:
- "5432:5432"
restart: unless-stopped
volumes:
- ./postgres:/data/postgres
networks:
lavalink:
postgres:
volumes:
plugins: