olgram/docker-compose-debug.yaml
2021-07-11 12:53:33 +03:00

25 lines
470 B
YAML

version: '3'
services:
postgres:
image: kartoza/postgis
environment:
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=test_passwd
- POSTGRES_DB=olgram
ports:
- '5430:5432'
volumes:
- database:/var/lib/postgresql/data
redis:
image: 'bitnami/redis:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- redis-db:/bitnami/redis/data
ports:
- '6370:6379'
volumes:
database:
redis-db: