wowstash/docker-compose.yaml
2020-08-25 13:16:14 -07:00

18 lines
382 B
YAML

version: '3'
services:
db:
image: postgres:9.6.15-alpine
container_name: db
ports:
- 5432:5432
environment:
POSTGRES_PASSWORD: ${DB_PASS}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
volumes:
- ./data/postgresql:/var/lib/postgresql/data
cache:
image: redis:latest
container_name: cache
ports:
- 6379:6379