Files
mengyamonitor/mengyamonitor-backend-server/docker-compose.binary.yml
2026-05-16 19:03:34 +08:00

21 lines
590 B
YAML
Raw 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.
# 使用 release/mengyamonitor-central-linux-amd64 打包镜像(先在 Windows 运行 build-linux-amd64.bat
# 容器内仍是 HTTP:9393 / 9394HTTPS 仅公网 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