chore: sync local updates
This commit is contained in:
20
mengyamonitor-backend-server/docker-compose.binary.yml
Normal file
20
mengyamonitor-backend-server/docker-compose.binary.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
# 使用 release/mengyamonitor-central-linux-amd64 打包镜像(先在 Windows 运行 build-linux-amd64.bat)
|
||||
# 容器内仍是 HTTP:9393 / 9394;HTTPS 仅公网 Nginx 反代层
|
||||
services:
|
||||
central:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.binary
|
||||
image: mengyamonitor-central:latest
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9393:9393"
|
||||
- "9394:9394"
|
||||
environment:
|
||||
HOST: "0.0.0.0"
|
||||
PORT: "9393"
|
||||
GRPC_PORT: "9394"
|
||||
ADMIN_TOKEN: ${ADMIN_TOKEN:-shumengya520}
|
||||
DB_PATH: /app/data/servers.db
|
||||
volumes:
|
||||
- ./data:/app/data
|
||||
Reference in New Issue
Block a user