2022-10-22 12:28:40 +00:00
|
|
|
services:
|
|
|
|
sb-mirror:
|
|
|
|
image: mchangrh/sb-mirror:latest
|
|
|
|
container_name: sb-mirror
|
|
|
|
volumes:
|
|
|
|
- ./mirror:/mirror
|
|
|
|
- ./export:/export
|
|
|
|
ports:
|
|
|
|
- 873:873
|
|
|
|
environment:
|
|
|
|
- MIRROR=TRUE
|
2022-10-23 19:19:30 +00:00
|
|
|
- MIRROR_URL=sponsorblock.kavin.rocks
|
2022-10-22 20:43:13 +00:00
|
|
|
restart: unless-stopped
|
2022-10-22 12:28:40 +00:00
|
|
|
postgres:
|
|
|
|
image: postgres:15-alpine
|
|
|
|
container_name: postgres-sb-mirror
|
2022-10-24 11:58:47 +00:00
|
|
|
shm_size: 1g
|
2022-10-30 16:06:27 +00:00
|
|
|
user: 0:0
|
2022-10-23 16:56:19 +00:00
|
|
|
# ports:
|
|
|
|
# - 5432:5432
|
2022-10-22 12:28:40 +00:00
|
|
|
volumes:
|
|
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
- ./mirror:/mirror
|
|
|
|
environment:
|
|
|
|
- POSTGRES_DB=sponsorblock
|
|
|
|
- POSTGRES_PASSWORD=password123
|
|
|
|
- POSTGRES_USER=sponsorblock
|
2022-10-22 20:43:13 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
sponsorblock-mirror:
|
|
|
|
image: 1337kavin/sponsorblock-mirror:latest
|
|
|
|
container_name: sponsorblock-mirror
|
|
|
|
volumes:
|
|
|
|
- ./mirror:/app/mirror
|
|
|
|
ports:
|
|
|
|
- 8000:8000
|
|
|
|
restart: unless-stopped
|
2022-10-24 11:58:47 +00:00
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- sb-mirror
|
2022-10-22 12:28:40 +00:00
|
|
|
volumes:
|
|
|
|
postgres_data: null
|