Accessing Focalboard
- ブラウザを開いて、次のURLにアクセスしてください:
http://<SERVER_IP> - Sign up and create your account on the first visit (this becomes the admin user).
重要なファイルとディレクトリ
- インストール先ディレクトリ:
/opt/focalboard - ファイルを作成する:
/opt/focalboard/docker-compose.yml - Nginxの設定:
/etc/nginx/sites-available/focalboard - データ量:
/var/lib/docker/volumes/focalboard_fbdata/_data - PostgreSQL volume (if using PostgreSQL):
/var/lib/docker/volumes/focalboard_pgdata/_data - App config (if using PostgreSQL):
/opt/focalboard/config.json - Env file (if using PostgreSQL):
/opt/focalboard/.env
Docker Management
Go to the install directory:
cd /opt/focalboard
Start containers:
docker compose up -d
ログを表示する:
docker compose logs -f
Stop containers:
docker compose down
Restart container:
docker restart focalboard
Access container shell:
docker exec -it focalboard sh
ドメインでのSSLの有効化
1. ドメインをサーバーのIPアドレスに設定してください。
2. Edit Nginx config and replace server_name <IP>; あなたのドメインで (<your-domain>):
vim /etc/nginx/sites-available/focalboard
3. Certbot のインストール:
apt install -y certbot python3-certbot-nginx
4. 有効な Let’s Encrypt 証明書を生成するには、次のコマンドを実行します:
certbot --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Restart Nginx to apply the changes:
systemctl restart nginx
6. Open your browser and visit: https://yourdomain.com