-
Notifications
You must be signed in to change notification settings - Fork 713
Open
Description
I follow step by step to install csghub and it running ok, but when I log in I get error "502 Service Temporarily Unavailable" url is "http://csghub.example.com/api/v1/callback/casdoor?code=98da75ae11a11b5e84c8&state=casdoor". So, how can I fix, thanks.
services:
csghub:
image: opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsghq/omnibus-csghub:v1.9.0-ce
environment:
CSGHUB_OMNIBUS_CONFIG: |
csghub:
external_url: "http://csghub.example.com" # 访问 CSGHub 实例域名,建议使用域名方式配置
runner: # 仅使用完整功能时需要,基本功能安装可移除此项
enable: true # 是否启用 Runner 服务,禁用则仅能使用基础功能
deploy:
knative:
services:
- type: "NodePort" # 如果 Kubernetes 集群支持 LoadBalancer,可以使用 LoadBalancer
domain: "app.internal" # 自定义 Knative Serving 内部域名
host: "192.168.18.10" # 暴露 kourier 服务的 EXTERNAL-IP
port: 30123 # 自定义端口号,type=LoadBalancer, 请指定为 80
ports:
- '80:80' # Nginx
- '2222:2222' # Git Over SSH
- '5000:5000' # Container Registry
- '8000:8000' # Casdoor
- '9000:9000' # Minio
volumes:
- ./csghub/etc:/etc/csghub
- ./csghub/logs:/var/log/csghub
- ./csghub/data:/var/opt/csghub
- ./csghub/.kube:/etc/csghub/.kube # 仅使用完整功能时需要,基本功能安装可移除此项
restart: always
shm_size: '256m'
Metadata
Metadata
Assignees
Labels
No labels