Accessing Focalboard
- 브라우저를 열고 다음 주소를 방문하세요:
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
컨테이너 재시작:
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. 변경 사항을 적용하려면 Nginx를 다시 시작하세요:
systemctl restart nginx
6. 브라우저를 열고 다음 주소를 방문하세요: https://yourdomain.com