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-03-20 06:08:33 +01:00
|
|
|
- ./database-export/:/opt/exports
|
2021-03-02 01:21:27 +01:00
|
|
|
ports:
|
2021-03-07 06:37:47 +01:00
|
|
|
- 127.0.0.1:5432:5432
|
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-03-07 06:37:47 +01:00
|
|
|
- 127.0.0.1:32773:6379
|
2021-03-02 01:21:27 +01:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
database-data:
|