2022-10-31 00:21:31 +05:30
|
|
|
version: "3"
|
|
|
|
|
2022-10-22 17:58:40 +05:30
|
|
|
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-24 00:49:30 +05:30
|
|
|
- MIRROR_URL=sponsorblock.kavin.rocks
|
2022-10-23 02:13:13 +05:30
|
|
|
restart: unless-stopped
|
2022-10-22 17:58:40 +05:30
|
|
|
postgres:
|
2024-10-18 05:41:22 +05:30
|
|
|
image: postgres:17-alpine
|
2022-10-22 17:58:40 +05:30
|
|
|
container_name: postgres-sb-mirror
|
2022-10-24 17:28:47 +05:30
|
|
|
shm_size: 1g
|
2022-10-30 21:36:27 +05:30
|
|
|
user: 0:0
|
2022-10-23 22:26:19 +05:30
|
|
|
# ports:
|
|
|
|
# - 5432:5432
|
2022-10-22 17:58:40 +05:30
|
|
|
volumes:
|
|
|
|
- postgres_data:/var/lib/postgresql/data
|
|
|
|
- ./mirror:/mirror
|
|
|
|
environment:
|
|
|
|
- POSTGRES_DB=sponsorblock
|
|
|
|
- POSTGRES_PASSWORD=password123
|
|
|
|
- POSTGRES_USER=sponsorblock
|
2022-10-23 02:13:13 +05:30
|
|
|
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 17:28:47 +05:30
|
|
|
depends_on:
|
|
|
|
- postgres
|
|
|
|
- sb-mirror
|
2022-10-22 17:58:40 +05:30
|
|
|
volumes:
|
|
|
|
postgres_data: null
|