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가 활성화된 사이트:
/etc/nginx/sites-enabled/wekan
자주 사용하는 명령어
프로젝트로 이동:
cd /opt/wekan
로그 보기:
docker compose logs -f
서비스 재시작:
docker compose restart
중지 / 시작:
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. 편집 docker-compose.yml 도메인을 다음과 같이 설정하려면 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