访问 Wekan
- 打开浏览器,访问:
http://<SERVER_IP>(HTTP) - 注册您的用户名、邮箱地址和密码。
- 第一个注册的用户将成为管理员,后续注册的用户为普通用户。
- 注册过程中,由于未配置电子邮件服务,您可能会看到"内部服务器错误"的提示,但用户账号已成功创建,可以正常登录。
- 如果您想禁用自助注册,请前往管理面板 → 设置,勾选"禁用自助注册"。
重要路径
- 安装目录:
/root/wekan - 编写文件:
/root/wekan/docker-compose.yml - 文件上传:
/var/lib/docker/volumes/wekan_wekan-files/_data - 数据库:
/var/lib/docker/volumes/wekan_wekan-db/_data - NGINX 配置:
/etc/nginx/sites-available/wekan - NGINX 已启用的站点:
/etc/nginx/sites-enabled/wekan
常用命令
导航到项目:
cd /opt/wekan
查看日志
docker compose logs -f
重启服务:
docker compose restart
停止 / 启动:
docker compose down
docker compose up -d
检查容器
docker ps
启用邮件(可选)
编辑:
/root/wekan/docker-compose.yml
取消注释并配置:
MAIL_URL=smtp://<mail_url>:25/?ignoreTLS=true&tls={rejectUnauthorized:false}
MAIL_FROM=Wekan Notifications <[email protected]>
I'm ready to help you translate to Simplified Chinese (Mainland China conventions). However, I don't see the English text that needs to be translated in your message. Please provide the English UI labels or text you'd like me to translate, and I'll return only the Simplified Chinese translation.
docker compose up -d
通过域名启用 SSL
1. 将你的域名指向服务器 IP。
2. 编辑 docker-compose.yml 将你的域名设置为 ROOT_URL: ROOT_URL=https://your.domain.com
3. 重新创建服务:
cd /root/wekan/
docker compose up -d
3. 编辑 Nginx 配置文件,将以下内容替换为 server_name _; 使用您的域名(server_name <your-domain>;):
vim /etc/nginx/sites-available/wekan
4. 安装 Certbot:
apt install -y certbot python3-certbot-nginx
5. 运行以下命令生成有效的 Let's Encrypt 证书:
certbot --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
6. 重启 Nginx 以应用更改:
systemctl restart nginx
7. 打开浏览器,访问: https://yourdomain.com