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 - Compose file:
/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. ติดตั้ง 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