You've already forked Curso-lenguaje-python
Add compose in clima_bot
This commit is contained in:
10
catch-all/06_bots_telegram/04_clima_bot/docker-compose.yaml
Normal file
10
catch-all/06_bots_telegram/04_clima_bot/docker-compose.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
services:
|
||||
clima-app:
|
||||
build: .
|
||||
container_name: clima-app
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pgrep -f bot.py || exit 1"]
|
||||
interval: 10s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
Reference in New Issue
Block a user