Files
nps/docker-compose.prod.yml
viaeon 79866f7795
CI and Docker Build / Build Binaries (push) Failing after 14s
CI and Docker Build / Build and Push Docker Images (push) Skipped
CI and Docker Build / Deploy to Remote Server (push) Skipped
ci: 迁移 CI 到 Gitea Actions,构建推送 nps/npc 镜像
2026-10-30 15:53:35 +08:00

17 lines
651 B
YAML
Raw Permalink 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.
# 部署端使用的 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