# 部署端使用的 compose(放到服务器的 DEPLOY_PATH 目录下) # 管理后台:http://<服务器IP>:8081 默认账号密码见 conf/nps.conf(admin/123,务必修改) # npc(客户端)镜像是 git.viaeon.com/admin/npc:latest,通常跑在别的机器上,不在此 compose 内 services: nps: image: git.viaeon.com/admin/nps:latest container_name: nps restart: unless-stopped ports: - "8081:8081" # web 管理面板 - "8024:8024" # 桥接端口,npc 连这个 - "80:80" # http 代理(按需) - "443:443" # https 代理(按需) volumes: - ./conf:/conf