shellphone.app/docker-compose.yml

29 lines
536 B
YAML
Raw Normal View History

2021-08-05 17:07:15 +00:00
version: "3.7"
services:
2022-05-14 10:22:06 +00:00
postgres:
2021-08-05 17:07:15 +00:00
image: postgres:13-alpine
restart: unless-stopped
volumes:
2022-05-14 10:22:06 +00:00
- pg-data:/var/lib/postgresql/data
env_file: ./.env
2021-08-05 17:07:15 +00:00
ports:
- "5432:5432"
2022-05-14 10:22:06 +00:00
tty: true
redis:
image: redis:6-alpine
command: >
--maxmemory-policy noeviction
restart: unless-stopped
2021-09-25 10:56:54 +00:00
volumes:
2022-05-14 10:22:06 +00:00
- redis-data:/data
ports:
- "6379:6379"
tty: true
2021-08-05 17:07:15 +00:00
volumes:
2022-05-14 10:22:06 +00:00
pg-data:
redis-data: