sponsorblock-mirror/docker-compose.yml
2022-10-23 17:56:19 +01:00

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