1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-23 10:35:29 +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:
Anatoli Babenia 2020-07-31 09:25:04 +03:00
parent 10326234ff
commit be9d3a70fe
2 changed files with 5 additions and 3 deletions

View File

@ -4,7 +4,8 @@ language:
- generic - generic
before_install: before_install:
- docker-compose up -d - docker-compose build
- docker-compose run -d app bin/srv.py --debug
- docker ps - docker ps
- docker images - docker images

View File

@ -1,8 +1,9 @@
version: '2' version: '2'
services: services:
app: app:
build: build: .
context: . image: cheat.sh
container_name: chtsh
depends_on: depends_on:
- redis - redis
ports: ports: