Ai
1 Star 0 Fork 0

anydev/nicegui

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1013 Bytes
一键复制 编辑 原始数据 按行查看 历史
Falko Schindler 提交于 2024-09-01 02:15 +08:00 . fix some minor issues in examples
services:
app:
build:
context: ./
dockerfile: development.dockerfile
ports:
- 80:8080
volumes:
- ./:/app
labels:
- traefik.http.routers.app.rule=PathPrefix(`/app`)
- traefik.http.services.app.loadbalancer.server.port=8080
- traefik.http.middlewares.app-prefix.stripprefix.prefixes=/app
- traefik.http.middlewares.app-prefix.stripprefix.forceSlash=false # see https://doc.traefik.io/traefik/middlewares/stripprefix/#forceslash
- traefik.http.routers.app.middlewares=app-prefix
# setup a proxy to test hosting on a sub-path; here localhost:8080/app
proxy:
image: traefik:v2.3
command:
- --providers.docker
- --api.insecure=true
- --accesslog # http access log
- --log #Traefik log, for configurations and errors
- --api # Enable the Dashboard and API
ports:
- "8888:80"
volumes:
# Traefik must be able to listen for Docker events
- /var/run/docker.sock:/var/run/docker.sock
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/anydev/nicegui.git
git@gitee.com:anydev/nicegui.git
anydev
nicegui
nicegui
main

搜索帮助