wowstash/docker-compose.yaml
2020-09-27 05:56:06 -07:00

20 lines
420 B
YAML

version: '3'
volumes:
grafana:
services:
db:
image: postgres:9.6.15-alpine
container_name: wowstash_db
ports:
- 5433: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: wowstash_cache
ports:
- 6379:6379