접근
- It might take some time to come up and start working properly without any issues.
- 웹 UI:
https://<server-ip> - SSL 경고(자체 서명 인증서) 수락
- Log in using the admin username and password you provided during installation.
- Login credentials are stored in:
/root/.cloudzy-creds
중요한 파일 및 디렉터리
- Application root:
/root/dashy/ - Dashy configuration file:
/root/dashy/config.yml - Docker Compose 파일:
/root/dashy/docker-compose.yml - Stored admin credentials (read-only):
/root/.cloudzy-creds - Nginx 사이트 구성:
/etc/nginx/sites-available/dashy - Enabled Nginx site:
/etc/nginx/sites-enabled/dashy - TLS certificate:
/etc/nginx/ssl/fullchain.pem - TLS private key:
/etc/nginx/ssl/privkey.pem
서비스 관리
컨테이너 상태 확인:
docker compose -f /root/dashy/docker-compose.yml ps
재시작:
docker compose -f /root/dashy/docker-compose.yml restart
로그 보기:
docker compose -f /root/dashy/docker-compose.yml logs -f
도메인에 SSL 활성화하기
1. 도메인을 서버 IP로 연결하십시오.
2. Nginx 설정을 편집하고 둘 다 교체하십시오. server_name <IP>; 귀하의 도메인과 함께 (<your-domain>HTTP(포트 80) 및 HTTPS(포트 443) 블록 모두에 대해:
vim /etc/nginx/sites-available/dashy
3. Certbot 설치:
apt install -y certbot python3-certbot-nginx
4. 유효한 Let’s Encrypt 인증서를 생성하려면 다음 명령어를 실행하십시오:
certbot certonly --nginx --non-interactive --agree-tos --email [email protected] -d yourdomain.com
5. Nginx 구성에서 SSL 경로 교체:
vim /etc/apache2/sites-available/dashy
# Before:
# ssl_certificate /etc/nginx/ssl/fullchain.pem;
# ssl_certificate_key /etc/nginx/ssl/privkey.pem;
# After:
# ssl_certificate /etc/letsencrypt/live/yourdomain.com/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.com/privkey.pem;
6. 변경 사항을 적용하려면 Nginx를 재시작하십시오:
systemctl restart nginx
7. 브라우저를 열고 다음 주소를 방문하세요: https://yourdomain.com
