mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
42 lines
982 B
YAML
42 lines
982 B
YAML
version: '3'
|
|
services:
|
|
database:
|
|
container_name: database
|
|
image: postgres:13
|
|
env_file:
|
|
- database.env
|
|
volumes:
|
|
- database-data:/var/lib/postgresql/data
|
|
- ./database-export/:/opt/exports # To make this work, run chmod 777 ./database-exports
|
|
ports:
|
|
- 5432:5432
|
|
restart: always
|
|
redis:
|
|
container_name: redis
|
|
image: redis:6.0
|
|
command: /usr/local/etc/redis/redis.conf
|
|
volumes:
|
|
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
|
|
ports:
|
|
- 32773:6379
|
|
restart: always
|
|
newleaf:
|
|
image: abeltramo/newleaf:latest
|
|
container_name: newleaf
|
|
restart: always
|
|
ports:
|
|
- 3241:3000
|
|
volumes:
|
|
- ./newleaf/configuration.py:/workdir/configuration.py
|
|
rsync:
|
|
image: mchangrh/rsync:latest
|
|
container_name: rsync
|
|
restart: always
|
|
ports:
|
|
- 873:873
|
|
volumes:
|
|
- ./rsync/rsyncd.conf:/etc/rsyncd.conf
|
|
- ./database-export/:/mirror
|
|
|
|
volumes:
|
|
database-data:
|