feat(artalk): 部署 Artalk 2.10.0 评论服务并入库接入草稿
- 容器 artalk/artalk-go:2.10.0 仅绑 127.0.0.1:13030,sqlite 落实例卷 - 子路径 /artalk 经 proxy_pass 尾斜杠剥前缀(官方无 base path 模式), nginx 草稿为 location 片段,合并主域 vhost 后需实测 sidebar 内页跳转 - 凭据不进 git:初始密码移实例目录 INITIAL-CREDENTIALS.txt(0600), 仓库 README 仅留指引(本仓库将公开) 验证: curl -sf http://127.0.0.1:13030/api/v2/conf 返回 2.10.0 JSON; docker inspect artalk = running;管理员 wait4xx 经 sqlite 查证落库 Co-authored-by: GLM-5.3
This commit is contained in:
1 parent
d8f5ecfbf5
commit
aea11469e3
5 files changed
+103
-1
No files matched your search
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
artalk:
|
||||
image: artalk/artalk-go:2.10.0
|
||||
container_name: artalk
|
||||
restart: unless-stopped
|
||||
# 仅回环暴露,公网访问必须经 nginx 反代(见 nginx-artalk.conf)
|
||||
ports:
|
||||
- "127.0.0.1:13030:23366"
|
||||
volumes:
|
||||
# 配置与 sqlite 同卷:官方 entrypoint 自动检测 /data/artalk.yml 并以 -c 启动
|
||||
- ./data:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
Reference in new issue
Block a user