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

31 lines
547 B
YAML

version: '3'
services:
postgres:
image: kartoza/postgis
restart: unless-stopped
env_file:
- release.env
volumes:
- database:/var/lib/postgresql/data
redis:
image: 'bitnami/redis:latest'
restart: unless-stopped
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- redis-db:/bitnami/redis/data
env_file:
- release.env
bot:
build: .
restart: unless-stopped
env_file:
- release.env
depends_on:
- postgres
- redis
volumes:
database:
redis-db: