version: '3.9'
services:
postgres:
image: postgres:12
container_name: postgres
restart: unless-stopped
env_file:
- ../.env
ports:
- 5432:5432
volumes:
- postgres:/var/lib/postgresql/data
redis:
image: redis:alpine
container_name: redis
- 6379:6379