forked from DevOps/deploy.stack
chore(memos): bump image to 0.29.1
This commit is contained in:
30
gitea/env.cfg.example
Normal file
30
gitea/env.cfg.example
Normal file
@@ -0,0 +1,30 @@
|
||||
# ============================================================
|
||||
# Gitea 部署 — 公共环境变量
|
||||
# 复制为 env.cfg 后填入真实值,env.cfg 已在 .gitignore 中忽略
|
||||
# ============================================================
|
||||
#
|
||||
# 使用方式:
|
||||
# cp env.cfg.example env.cfg
|
||||
# docker compose -p gitea --env-file ./env.cfg -f ./lky-prod.yml up -d
|
||||
#
|
||||
# 数据库等敏感配置在容器 /etc/gitea/app.ini 中配置(挂载自 config/ 目录)
|
||||
|
||||
# ---------- 镜像 ----------
|
||||
# Gitea 版本号(rootless 镜像带 -rootless 后缀)
|
||||
IMAGE_TAG_VER=1.26.2-rootless
|
||||
# 完整镜像引用(私有仓库示例:hub.tp229.com:3500/gitea/gitea:${IMAGE_TAG_VER})
|
||||
IMAGE_TAG=gitea/gitea:${IMAGE_TAG_VER}
|
||||
|
||||
# ---------- 数据卷 ----------
|
||||
# 宿主机持久化目录
|
||||
# 部署前手动创建并授权:
|
||||
# mkdir -pv /data/volumes/gitea/{data,config}
|
||||
# chown -R 1000:1000 /data/volumes/gitea/{data,config} # rootless 镜像必须
|
||||
Volumes_Path=/data/volumes/gitea
|
||||
|
||||
# ---------- SSH 端口 ----------
|
||||
# 容器内 SSH 端口固定 2222;按部署主机二选一:
|
||||
# LAY_SSH_HOST_PORT —— 宿主 22 空闲的机器(lky-prod.yml 引用)
|
||||
# SSH_HOST_PORT —— 宿主 22 被占用的机器(rpi-prod.yml 引用,如树莓派)
|
||||
LAY_SSH_HOST_PORT=22
|
||||
SSH_HOST_PORT=2222
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
# ---------- 镜像 ----------
|
||||
# Memos 版本号
|
||||
IMAGE_TAG_VER=0.28.0
|
||||
IMAGE_TAG_VER=0.29.1
|
||||
# 完整镜像引用(私有仓库示例:hub.tp229.com:3500/neosmemo/memos:${IMAGE_TAG_VER})
|
||||
IMAGE_TAG=neosmemo/memos:${IMAGE_TAG_VER}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user