1 Star 2 Fork 1

NetAxeClub/SouthDriver

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.ci.yml 1.61 KB
一键复制 编辑 原始数据 按行查看 历史
version: "3.7"
services:
netpalm-controller:
build:
context: .
dockerfile: ./dockerfiles/netpalm_controller_dockerfile
environment:
- NET_TEXTFSM=/usr/local/lib/python3.8/site-packages/ntc_templates/templates/
- NETPALM_CONFIG=/code/config/config.json
- NETPALM_LOG_CONFIG_FILENAME=/code/config/log-config.yml
ports:
- "9000:9000"
networks:
- "netpalm-network"
depends_on:
- redis
- cisgo
worker-pinned:
image: netpalm_netpalm-controller
command: python3 worker.py pinned
environment:
- NET_TEXTFSM=/usr/local/lib/python3.8/site-packages/ntc_templates/templates/
- NETPALM_CONFIG=/code/config/config.json
- NETPALM_LOG_CONFIG_FILENAME=/code/config/log-config.yml
depends_on:
- redis
networks:
- "netpalm-network"
# deploy:
# replicas: 2
worker-fifo:
image: netpalm_netpalm-controller
command: python3 worker.py fifo
environment:
- NET_TEXTFSM=/usr/local/lib/python3.8/site-packages/ntc_templates/templates/
- NETPALM_CONFIG=/code/config/config.json
- NETPALM_LOG_CONFIG_FILENAME=/code/config/log-config.yml
depends_on:
- redis
networks:
- "netpalm-network"
redis:
build:
context: .
dockerfile: ./dockerfiles/netpalm_redis_dockerfile
networks:
- "netpalm-network"
cisgo:
image: apcela/cisshgo:v0.1.1
ports:
- "10005:10005" # one port just for convenience in case you need to ssh from outside for some reason
networks:
- "netpalm-network"
networks:
netpalm-network:
name: "netpalm-network"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/NetAxeClub/SouthDriver.git
git@gitee.com:NetAxeClub/SouthDriver.git
NetAxeClub
SouthDriver
SouthDriver
master

搜索帮助