set up docker generation

This commit is contained in:
2022-10-02 17:43:55 +02:00
parent 712320fb47
commit 0b66d4ae0d
21 changed files with 447 additions and 58 deletions

14
docker-compose.debug.yml Normal file
View File

@@ -0,0 +1,14 @@
version: '3.4'
services:
web2mqtt:
image: web2mqtt
build:
context: .
dockerfile: ./Dockerfile
command: ["sh", "-c", "pip install debugpy -t /tmp && python /tmp/debugpy --wait-for-client --listen 0.0.0.0:5678 -m flask run --no-debugger --no-reload --host 0.0.0.0 --port 5002"]
ports:
- 5002:5002
- 5678:5678
environment:
- FLASK_APP=web2mqtt\webapp.py