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:
+2
-1
@@ -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
@@ -1,8 +1,9 @@
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
build: .
|
||||
image: cheat.sh
|
||||
container_name: chtsh
|
||||
depends_on:
|
||||
- redis
|
||||
ports:
|
||||
|
||||
Reference in New Issue
Block a user