2025.05.01 新增traefik docker\yaml到所用的路径方式转换工具

src/app.py
# 配置ETCD连接(根据实际情况修改)
ETCD_HOST = '192.168.9.105'
ETCD_PORT = 2379
...
app.run(host='0.0.0.0', port=5000)pipx install poetry
poetry install --no-root
poetry run python ./src/app.pydocker compose build
docker compose up -d labels:
- traefik.enable=true
- traefik.http.routers.etcdweb.rule=Host(`etcdweb.example.com`)
networks:
traefik:
external: truewarn: there is no auth!!!
MIT License
Copyright (c) 2023
Written by axuanran
MIT License
