Canon/scripts/docker-compose.yaml
Ichirinko dbbab1c761 feat-visualization (#33)
尽管里面有点粪,但还是生成了漂亮的树,就当给树施肥了
剩下一个小问题:未考虑节点的宽度(因为名称不一样长),但目前未发现对图生成的明显影响

Co-authored-by: jackfiled <xcrenchangjun@outlook.com>
Reviewed-on: PostGuard/Canon#33
Co-authored-by: Ichirinko <1621543655@qq.com>
Co-committed-by: Ichirinko <1621543655@qq.com>
2024-04-19 14:59:45 +08:00

20 lines
676 B
YAML

version: '3.8'
services:
mongodb:
image: mongo:7.0-jammy
container_name: canon_database
canon:
image: canon-server:latest
container_name: canon_server
environment:
ConnectionStrings__MongoDB: "mongodb://mongodb"
TZ: "Asia/Shanghai"
ASPNETCORE_ENVIRONMENT: "Development"
labels:
- "traefik.enable=true"
- "traefik.http.routers.canon.rule=Host(`canon.rrricardo.top`)"
- "traefik.http.services.canon.loadbalancer.server.port=8080"
- "com.centurylinklabs.watchtower.enable=true"
- "com.centurylinklabs.watchtower.no-pull=true"