olgram/docker-compose-debug.yaml

25 lines
470 B
YAML
Raw Permalink Normal View History

2021-06-11 21:56:03 +03:00
version: '3'
services:
postgres:
image: kartoza/postgis
environment:
- POSTGRES_USER=test_user
- POSTGRES_PASSWORD=test_passwd
- POSTGRES_DB=olgram
ports:
2021-09-06 00:36:03 +03:00
- '5400:5432'
2021-06-11 21:56:03 +03:00
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'
2021-06-11 21:56:03 +03:00
volumes:
database:
redis-db: