shellphone.app/docker-compose.yml
2022-05-14 12:22:06 +02:00

29 lines
536 B
YAML

version: "3.7"
services:
postgres:
image: postgres:13-alpine
restart: unless-stopped
volumes:
- pg-data:/var/lib/postgresql/data
env_file: ./.env
ports:
- "5432:5432"
tty: true
redis:
image: redis:6-alpine
command: >
--maxmemory-policy noeviction
restart: unless-stopped
volumes:
- redis-data:/data
ports:
- "6379:6379"
tty: true
volumes:
pg-data:
redis-data: