mirror of
https://github.com/Syngnat/GoNavi.git
synced 2026-07-13 00:13:33 +08:00
- 新增 Dockerfile.web-server:前端构建 + 纯 Go 主程序 web-server 模式 - 提供 Compose/env 示例与本地源码构建 override - CI 增加 gonavi-web-server 镜像构建、冒烟与 GHCR 发布 - 文档补充 Web 容器部署、数据卷与安全暴露说明
15 lines
647 B
Plaintext
15 lines
647 B
Plaintext
# 宿主机 GoNavi 活动数据目录。
|
||
# 建议至少包含:connections.json、daily_secrets.json;
|
||
# 如需可选驱动代理,一并挂载 drivers/。
|
||
# Web 认证状态会写入 web_auth.json(首次访问 /setup 初始化)。
|
||
GONAVI_HOST_DATA_ROOT=/absolute/path/to/gonavi-data
|
||
|
||
# 预构建镜像地址。稳定版通常使用 latest,跟随 dev 分支可改成 ghcr.io/syngnat/gonavi-web-server:dev-latest
|
||
GONAVI_WEB_IMAGE=ghcr.io/syngnat/gonavi-web-server:latest
|
||
|
||
# 预构建镜像拉取策略:always / missing / never
|
||
GONAVI_WEB_PULL_POLICY=missing
|
||
|
||
# 宿主机暴露端口(映射到容器 34116)
|
||
GONAVI_WEB_HTTP_PORT=34116
|