akg-factor-bridge/docker-compose.yml

13 lines
587 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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