SponsorBlockServer/docker/docker-compose.yml
2021-06-02 22:34:38 -04:00

33 lines
791 B
YAML

version: '3'
services:
database:
container_name: database
image: postgres
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: unless-stopped
redis:
container_name: redis
image: redis
command: /usr/local/etc/redis/redis.conf
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
ports:
- 32773:6379
restart: unless-stopped
newleaf:
image: abeltramo/newleaf:latest
container_name: newleaf
restart: unless-stopped
ports:
- 3241:3000
volumes:
- ./newleaf/configuration.py:/workdir/configuration.py
volumes:
database-data: