-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (42 loc) · 1.1 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
version: '3.8' # Specify the version of the Docker Compose file
networks:
inu_net:
enable_ipv6: true
driver: bridge
ipam:
config:
- subnet: 172.21.0.0/16 # IPv4 subnet
services:
db:
container_name: postgresql
image: postgres:latest
restart: "unless-stopped"
environment:
POSTGRES_USER: inu
POSTGRES_PASSWORD: secr33t
POSTGRES_DB: inu_db
LOG_STATEMENT: WARNING
LOG_LEVEL: INFO
volumes:
- ./../postgres-data:/var/lib/postgresql/data
networks:
inu_net: # Connect to the custom network
app:
container_name: inu
depends_on:
- lava
- db
build: .
restart: "unless-stopped"
networks:
inu_net: # Connect to the custom network
labels:
- "com.centurylinklabs.watchtower.enable=false" # Disable watchtower for this container
lava:
container_name: lavalink
restart: "unless-stopped"
image: fredboat/lavalink:latest-alpine
volumes:
- ./dependencies/lavalink/application.yml:/opt/Lavalink/application.yml
networks:
inu_net: # Connect to the custom network