Wekanにアクセス
- ブラウザを開いて次の URL にアクセスしてください:
http://<SERVER_IP>(HTTP) - ユーザー名、メールアドレス、パスワードを登録してください。
- 最初に登録したユーザーが管理者になり、以降のユーザーは一般ユーザーになります。
- メールが設定されていない場合、登録時に「Internal Server Error」が表示されることがありますが、ユーザーは正常に作成されており、通常どおりログインできます。
- セルフ登録を無効にしたい場合は、管理パネル → 設定 から「Disable Self Registration」にチェックを入れてください。
重要なパス
- インストール ディレクトリ:
/root/wekan - Compose ファイル
/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 translate to Japanese. However, I don't see the English text you want me to translate in your message. You wrote "Translate: Then apply:" but there's no actual content to translate. Please provide the English text/labels you'd like translated to Japanese, and I'll return only the Japanese 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. ブラウザを開いて、次のURLにアクセスしてください: https://yourdomain.com