sponsorblock-mirror/docker-compose.yml

37 lines
880 B
YAML
Raw Normal View History

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
- 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:
image: postgres:15-alpine
container_name: postgres-sb-mirror
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-22 17:58:40 +05:30
volumes:
postgres_data: null