- dev images are built only when the push touched code that image uses (path filters); webdrop-files does not wait for the frontend build - one v* tag releases both images (:tag and :latest) after the shared checks - registry build and push live in scripts/ci-publish-image.sh, used by every workflow - containers: fix the api Containerfile (missing Sync project), add Containerfile.files, Quadlet units for the file service (prod and dev), env examples, and registry auto-update for the production units so each machine pulls only the image it runs
8 lines
524 B
Bash
8 lines
524 B
Bash
# 主后端(VPS)的机器配置:复制到 ~/podman/webdrop/webdrop.env 并按实际情况修改。不要提交真实值
|
|
# 打开文件服务:文件内容不放主后端,由 fileAPI 保存;主后端只签发访问票据
|
|
WebDrop__Files__Enabled=true
|
|
# 浏览器访问文件服务的地址(必须 https,和文件服务机器上配的对外地址一致)
|
|
WebDrop__Files__PublicUrl=https://files.example.com
|
|
# 和文件服务共用的密钥,至少 32 个字符:openssl rand -base64 48。两边必须一致
|
|
WebDrop__Files__Secret=
|