olgram/docker-compose-debug.yaml
2021-12-14 23:55:19 +03:00

27 lines
705 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Конфигурация, удобная для разработки в PyCharm: бот запускается без docker, порты postgres и redis открыты на localhost
# Не используйте её в production!
version: '3'
services:
postgres:
image: postgres:13.4
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: