mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 01:02:30 +01:00
22 lines
434 B
YAML
22 lines
434 B
YAML
|
version: '3'
|
||
|
services:
|
||
|
database:
|
||
|
container_name: database
|
||
|
image: postgres
|
||
|
env_file:
|
||
|
- database.env
|
||
|
volumes:
|
||
|
- database-data:/var/lib/postgresql/data
|
||
|
ports:
|
||
|
- 5432:5432
|
||
|
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
|
||
|
|
||
|
volumes:
|
||
|
database-data:
|