olgram/docker-compose-debug.yaml
2021-09-06 00:36:03 +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:
- '5400: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: