代码拉取完成,页面将自动刷新
write_meta_error
function and add write_meta_error_string
function
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"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。