mirror of
https://github.com/chubin/cheat.sh.git
synced 2024-11-23 02:25:53 +03: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:
parent
10326234ff
commit
be9d3a70fe
@ -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
|
||||
|
||||
|
@ -1,8 +1,9 @@
|
||||
version: '2'
|
||||
services:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
build: .
|
||||
image: cheat.sh
|
||||
container_name: chtsh
|
||||
depends_on:
|
||||
- redis
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user