docker-compose.debug.yml 479 B

12345678910111213141516171819
  1. version: '3.4'
  2. services:
  3. setgithubsecret:
  4. image: jianboy/setgithubsecret:latest
  5. build:
  6. context: .
  7. dockerfile: ./Dockerfile
  8. 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"]
  9. ports:
  10. - 5002:5002
  11. environment:
  12. - FLASK_APP=web\app.py
  13. - FLASK_DEBUG=1
  14. volumes:
  15. - .:/app
  16. networks:
  17. default: