WeKan

Open-source kanban board app built with Meteor, free and MIT-licensed.

Access Wekan

  • 打开浏览器并访问: http://<SERVER_IP> (HTTP)
  • Register your username, email address and password.
  • First registered user will be admin, and next ones normal users.
  • During registration, you may see an “Internal Server Error” because email is not configured, but the user is still created and you can log in normally.
  • If you want to disable self-registration, go to Admin Panel → Settings and check “Disable Self Registration”.

重要路径

  • 安装目录: /root/wekan
  • 编写文件: /root/wekan/docker-compose.yml
  • File uploads: /var/lib/docker/volumes/wekan_wekan-files/_data
  • 数据库: /var/lib/docker/volumes/wekan_wekan-db/_data
  • NGINX 配置: /etc/nginx/sites-available/wekan
  • NGINX enabled site: /etc/nginx/sites-enabled/wekan

Common Commands

Navigate to project:

cd /opt/wekan

查看日志:

docker compose logs -f

重启服务:

docker compose restart

Stop / Start:

docker compose down
docker compose up -d

检查容器:

docker ps

Enable Email (Optional)

编辑:

/root/wekan/docker-compose.yml

Uncomment and configure:

MAIL_URL=smtp://<mail_url>:25/?ignoreTLS=true&tls={rejectUnauthorized:false}
MAIL_FROM=Wekan Notifications <[email protected]>

Then apply:

docker compose up -d

为域名启用SSL

1. 将您的域名指向服务器IP地址。

2. Edit docker-compose.yml to set your domain as ROOT_URL: ROOT_URL=https://your.domain.com

3. 重建服务:

cd /root/wekan/
docker compose up -d

3. Edit Nginx config and replace server_name _; 使用您的域名 (server_name <your-domain>;):

vim /etc/nginx/sites-available/wekan

4. Install Certbot:

apt install -y certbot python3-certbot-nginx

5. Run the following command to generate a valid Let’s Encrypt certificate:

certbot --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com

6. 重启 Nginx 以应用更改:

systemctl restart nginx

7. 打开浏览器并访问: https://yourdomain.com

申请详情