SponsorBlockServer/docker/docker-compose.yml

34 lines
791 B
YAML
Raw Normal View History

2021-03-02 01:21:27 +01:00
version: '3'
services:
database:
container_name: database
image: postgres
env_file:
- database.env
volumes:
- database-data:/var/lib/postgresql/data
2021-04-18 04:49:05 +02:00
- ./database-export/:/opt/exports # To make this work, run chmod 777 ./database-exports
2021-03-02 01:21:27 +01:00
ports:
2021-04-18 04:49:05 +02:00
- 5432:5432
2021-06-03 04:34:38 +02:00
restart: unless-stopped
2021-03-02 01:21:27 +01:00
redis:
container_name: redis
image: redis
command: /usr/local/etc/redis/redis.conf
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
ports:
2021-04-18 04:49:05 +02:00
- 32773:6379
2021-06-03 04:34:38 +02:00
restart: unless-stopped
newleaf:
image: abeltramo/newleaf:latest
container_name: newleaf
restart: unless-stopped
ports:
- 3241:3000
volumes:
- ./newleaf/configuration.py:/workdir/configuration.py
2021-03-02 01:21:27 +01:00
volumes:
2021-04-18 04:49:05 +02:00
database-data: