mirror of
https://github.com/TeamPiped/sponsorblock-mirror.git
synced 2024-12-12 21:30:36 +05:30
37 lines
876 B
YAML
37 lines
876 B
YAML
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=mirror.sb.mchang.xyz
|
|
restart: unless-stopped
|
|
postgres:
|
|
image: postgres:15-alpine
|
|
container_name: postgres-sb-mirror
|
|
# 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
|
|
volumes:
|
|
postgres_data: null
|