olgram/instance/docker-compose.yaml

24 lines
412 B
YAML
Raw Normal View History

version: '3'
services:
redis:
restart: unless-stopped
image: 'bitnami/redis:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- redis-db:/bitnami/redis/data
env_file:
- .env
instance:
build: .
restart: unless-stopped
depends_on:
- redis
env_file:
- .env
environment:
- INSTANCE_REDIS_PATH=redis://redis
volumes:
redis-db: