mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-23 02:25:53 +03:00
be9d3a70fe
This would allow later inspection of stdout. Assigned names to image and container to avoid confusion. Build is done separately to clean up the output.
17 lines
246 B
YAML
17 lines
246 B
YAML
version: '2'
|
|
services:
|
|
app:
|
|
build: .
|
|
image: cheat.sh
|
|
container_name: chtsh
|
|
depends_on:
|
|
- redis
|
|
ports:
|
|
- "8002:8002"
|
|
redis:
|
|
image: redis:4-alpine
|
|
volumes:
|
|
- redis_data:/data
|
|
volumes:
|
|
redis_data:
|