wowstash/docker-compose.yaml

19 lines
382 B
YAML
Raw Normal View History

2020-08-21 07:39:59 +00:00
version: '3'
services:
db:
image: postgres:9.6.15-alpine
2020-08-22 19:34:02 +00:00
container_name: db
2020-08-21 07:39:59 +00:00
ports:
- 5433:5432
2020-08-21 07:39:59 +00:00
environment:
POSTGRES_PASSWORD: ${DB_PASS}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_NAME}
2020-08-22 19:34:02 +00:00
volumes:
2020-08-25 20:16:14 +00:00
- ./data/postgresql:/var/lib/postgresql/data
2020-08-22 19:34:02 +00:00
cache:
2020-08-21 07:39:59 +00:00
image: redis:latest
2020-08-22 19:34:02 +00:00
container_name: cache
2020-08-21 07:39:59 +00:00
ports:
- 6379:6379