访问 ZITADEL
- 首次运行时启动可能需要几分钟时间。
- 打开浏览器并访问:
https://<SERVER_IP>.sslip.io - 由于自签名证书,预计会出现浏览器警告。
登录管理控制台
前往: https://<SERVER_IP>.sslip.io/ui/console
使用初始管理员凭据:
- 用户名:
zitadel-admin@zitadel.<SERVER_IP>.sslip.io - 密码:
Password1!
重要文件和目录
- 主要安装目录:
/root/zitadel - 基本 Docker Compose 配置:
/root/zitadel/docker-compose-base.yaml - Nginx Docker Compose 配置:
/root/zitadel/docker-compose-nginx.yaml - Nginx 配置(外部 TLS):
/root/zitadel/nginx-external-tls.conf - 自签名 TLS 证书和密钥:
/root/zitadel/selfsigned.crt&/root/zitadel/selfsigned.key - PostgreSQL持久数据:存储在Docker卷中
data - ZITADEL 登录客户端令牌:
/root/zitadel/login-client.pat
管理部署
检查容器状态:
cd /root/zitadel
docker compose -f docker-compose-base.yaml -f docker-compose-nginx.yaml ps
查看日志:
cd /root/zitadel
docker compose -f docker-compose-base.yaml -f docker-compose-nginx.yaml logs -f
重启所有服务:
cd /root/zitadel
docker compose -f docker-compose-base.yaml -f docker-compose-nginx.yaml restart
健康检查
检查 ZITADEL gRPC 运行状况:
grpcurl --insecure <SERVER_IP>.sslip.io:443 zitadel.admin.v1.AdminService/Healthz
检查 HTTP 健康端点:
curl --insecure https://<SERVER_IP>.sslip.io/admin/v1/healthz