# akg-factor-bridge:独立部署单元,可落在任意能同时连通「基座PG/153/平台MySQL」的服务器。 # 容器常驻(sleep infinity),由宿主 cron 或平台 XXL-JOB 以 docker exec 触发 build; # 也可改 command 为一次性任务由外部调度拉起。 services: akg-factor-bridge: build: . container_name: akg_factor_bridge env_file: .env restart: unless-stopped command: sleep infinity # 触发示例(宿主 crontab,每日 18:40): # 40 18 * * 1-5 docker exec akg_factor_bridge python run.py build all --mode daily