mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-26 11:09:22 +03:00
36a7cd3fc5
The proper config name for Redis host is CHEATSH_CACHE_REDIS_HOST and for disabling cache the var is CHEATSH_CACHE_TYPE.
19 lines
302 B
YAML
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:
|