1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-26 11:09:22 +03:00
cheat.sh/docker-compose.yml
Anatoli Babenia 36a7cd3fc5 Set proper config names and update docker status in README.md
The proper config name for Redis host is CHEATSH_CACHE_REDIS_HOST
and for disabling cache the var is CHEATSH_CACHE_TYPE.
2020-08-01 00:54:09 +03:00

19 lines
302 B
YAML

version: '2'
services:
app:
build: .
image: cheat.sh
container_name: chtsh
depends_on:
- redis
environment:
- CHEATSH_CACHE_REDIS_HOST=redis
ports:
- "8002:8002"
redis:
image: redis:4-alpine
volumes:
- redis_data:/data
volumes:
redis_data: