Files
MemRelay/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/Checkpoint 2026-11-17 14-28-19 UTC [0b6d70c998].md
T
memrelay a8f30dfe1f create: Checkpoint 2026-11-17 14:28:19 UTC [0b6d70c998]
MemRelay-Operation: checkpoint-save:euniv-deploy-checkpoint-2026-11-17
MemRelay-Resource: 9ca99136-932f-4642-911a-da365eb847cc
2026-11-17 22:28:23 +08:00

32 lines
1.9 KiB
Markdown
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.
---
title: Checkpoint 2026-11-17 14:28:19 UTC [0b6d70c998]
type: checkpoint
permalink: main/projects/f5708b07-f0ea-42a4-b4ed-0e5443990ff9/checkpoint-2026-11-17-14-28-19-utc-0b6d70c998
stable_id: 9ca99136-932f-4642-911a-da365eb847cc
scope: project
memory_type: checkpoint
project_id: f5708b07-f0ea-42a4-b4ed-0e5443990ff9
usage_profile_id: 0c9feb46-d06e-43cd-9ef0-c5813c84a998
status: active
revision: 1
request_id: euniv-deploy-checkpoint-2026-11-17
created_at: '2026-11-17T14:28:19.694677+00:00'
updated_at: '2026-11-17T14:28:19.694677+00:00'
tags:
- handoff
- deploy
---
完成:把 305d458 部署到 Armbian,对外地址 https://euniv.asio.asia。
原因:用户要求全权部署,走和 Gitea、MemRelay 一样的 frp 加阿里云 HTTPS,端口顺延用 30xx而不是 80xx。
关键实现:/opt/euniv 的 docker compose,容器 euniv-web-1 只监听 127.0.0.1:3007。frpc 代理 euniv 子域名指向该端口,store.path 为 /etc/frp/frpc_store.json。阿里云站点用证书 id 16,反代 127.0.0.1:52001,带 WebSocket 升级头、3600 秒超时和关闭缓冲。主密钥在密码库 EunivTools EUNIV_SECRET_KEY。服务器 Dockerfile 使用清华 pip 镜像,没有改仓库。
验证:https://euniv.asio.asia/api/health 返回 ok、database、study 为真。WebSocket 返回 101。管理员登录返回 admin 后已退出。
问题:frpc 的相对 store 路径在 reload 时不生效,已改成绝对路径并再次 reload,euniv 仍然是 running。1Panel 创建网站的接口要求验证码,所以直接写了站点文件和 agent.db。
下一步:没有待部署的步骤。以后更新时在 /opt/euniv 重新构建这一个容器,不要再开一个实例,也不要把端口改回 8000。
给下个会话:线上已是 euniv.asio.asia。代码仓库仍是 305d458。不要把密钥写进仓库或记忆。不要改 OpenWrt 的 frpc。页面不写实现说明。