-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yml
43 lines (42 loc) · 976 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:
sb-mirror:
image: mchangrh/sb-mirror:latest
container_name: sb-mirror
volumes:
- ./mirror:/mirror
- ./export:/export
ports:
- 873:873
environment:
- MIRROR=TRUE
- MIRROR_URL=sponsorblock.kavin.rocks
restart: unless-stopped
postgres:
image: postgres:17-alpine
container_name: postgres-sb-mirror
shm_size: 1g
user: 0:0
# ports:
# - 5432:5432
volumes:
- postgres_data:/var/lib/postgresql/data
- ./mirror:/mirror
environment:
- POSTGRES_DB=sponsorblock
- POSTGRES_PASSWORD=password123
- POSTGRES_USER=sponsorblock
restart: unless-stopped
sponsorblock-mirror:
image: 1337kavin/sponsorblock-mirror:latest
container_name: sponsorblock-mirror
volumes:
- ./mirror:/app/mirror
ports:
- 8000:8000
restart: unless-stopped
depends_on:
- postgres
- sb-mirror
volumes:
postgres_data: null