CSGHub Enterprise Edition v1.8.0
Release time: 2025-06-16 Main updates:
- Merge docker/docker-compose deployment method
- Add Notifitcation service (EE Only)
**Installation method: **
-
Docker
-
Edition CE
-
docker-compose.yml
services:
csghub:
image: opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_public/omnibus-csghub:v1.8.0-ce
hostname: 'csghub.example.com'
environment:
CSGHUB_OMNIBUS_CONFIG: |
csghub:
external_url: "http://csghub.example.com" # Access the CSGHub instance domain name. It is recommended to configure it using the domain name.
runner:
enable: true # Whether to enable the Runner service. If disabled, only basic functions can be used.
deploy:
knative:
services:
- type: "NodePort" # If your Kubernetes cluster supports LoadBalancer, you can use LoadBalancer
domain: "app.internal" # Customize Knative Serving internal domain name
host: "192.168.18.10" # Expose the EXTERNAL-IP of the kourier service
port: 30123 # Custom port number, type=LoadBalancer, please specify 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'
-
-
Edition EE
-
docker-compose.yml
services:
csghub:
image: opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_public/omnibus-csghub:v1.8.0-ee
hostname: 'csghub.example.com'
environment:
CSGHUB_OMNIBUS_CONFIG: |
csghub:
external_url: "http://csghub.example.com" # Access the CSGHub instance domain name. It is recommended to configure it using the domain name.
runner:
enable: true # Whether to enable the Runner service. If disabled, only basic functions can be used.
deploy:
knative:
services:
- type: "NodePort" # If your Kubernetes cluster supports LoadBalancer, you can use LoadBalancer
domain: "app.internal" # Customize Knative Serving internal domain name
host: "192.168.18.10" # Expose the EXTERNAL-IP of the kourier service
port: 30123 # Custom port number, type=LoadBalancer, please specify 80
server:
dataflow:
address: "http://dataflow:8000" # Dataflow Address
starship:
enable: true # Enable Starship Coding Assistant
- '80:80' # Nginx
- '2222:2222' # Git Over SSH
- '5000:5000' # Container Registry
- '8000:8000' # Casdoor
- '8001:8001' # Starship Portal
- '8002:8002' # Starship-API Admin Console
- '9000:9000' # Minio
- '9001:9001' # Minio Admin UI
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'
dataflow: # Dataflow is a CSGHub dataset processing module and can be enabled on demand
image: opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_public/dataflow:latest
environment:
CSGHUB_ENDPOINT: "http://csghub.example.com"
DATABASE_HOSTNAME: "csghub"
DATABASE_PORT: "5432"
DATABASE_USERNAME: "dataflow"
DATABASE_PASSWORD: "8f444970fcde559c"
DATABASE_DB: "dataflow"
DATA_DIR: "/data"
MAX_WORKERS: 50
RAY_ADDRESS: "auto"
RAY_ENABLE: false
RAY_LOG_DIR: "/var/log/dataflow"
API_SERVER: "0.0.0.0"
API_PORT: 8000
AZURE_OPENAI_ENDPOINT: "$AZURE_OPENAI_ENDPOINT"
AZURE_OPENAI_API_KEY: "$AZURE_OPENAI_ENDPOINT"
OPENAI_API_VERSION: "$OPENAI_API_VERSION"
AZURE_MODEL: "$AZURE_MODEL"
ENABLE_OPENTELEMETRY: false
volumes:
- ./csghub/data/dataflow:/data
- ./csghub/logs/dataflow:/var/log/dataflow
restart: always
-
-
Start Services
docker compose up -d && docker compose ps
Note: If the Kubernetes cluster is not ready, please set
environment.CSGHUB_OMNIBUS_CONFIG.runner.enable=false
(that is, install and use basic functions). -
Stop Services
docker compose down
-
-
Helm Chart
helm repo add https://charts.opencsg.com/repository/csghub/
helm repo update
helm upgrade --install csghub csghub/csghub \
--namespace csghub \
--create-namespace \
--set global.ingress.domain="example.com" \
--set global.deploy.knative.serving.services[0].type="NodePort" \
--set global.deploy.knative.serving.services[0].domain="app.internal" \
--set global.deploy.knative.serving.services[0].host=<knative serving network service host> \
--set global.deploy.knative.serving.services[0].port="30213"