1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Run cheat.sh service (app) by docker-compose in debug mode

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.
This commit is contained in:
Anatoli Babenia
2020-07-31 09:25:04 +03:00
parent 10326234ff
commit be9d3a70fe
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -4,7 +4,8 @@ language:
- generic
before_install:
- docker-compose up -d
- docker-compose build
- docker-compose run -d app bin/srv.py --debug
- docker ps
- docker images
+3 -2
View File
@@ -1,8 +1,9 @@
version: '2'
services:
app:
build:
context: .
build: .
image: cheat.sh
container_name: chtsh
depends_on:
- redis
ports: