SponsorBlockServer/docker/docker-compose.yml

26 lines
569 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-04-22 01:43:32 +02:00
restart: always
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-04-22 01:43:32 +02:00
restart: always
2021-03-02 01:21:27 +01:00
volumes:
2021-04-18 04:49:05 +02:00
database-data: