Skip to content

v1.2.3

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 09 Jan 06:01
· 0 commits to main since this release

Important

The release v1.2.3 of docker compose installation has been optimized in the directory structure, which is slightly different from the previous version. For this, if you have old data, please make two modifications:
Configuration changes:

Note: All configurations should be passed through the environment variables in .env. Please refer to the variable comments for the actual changes.

  1. Added variables.
  • CSGHUB_IMAGE_PREFIX is used to specify the image repository location
  • SPACE_APP_INTERNAL_HOST is used to specify the Knative Serving network service address
  • CSGHUB_WITH_K8S controls whether to integrate k8s
  • KUBE_CONFIG_DIR specifies the local .kube/config file directory
  1. Remove variables.
  • SERVER_INTERNAL_DOMAIN
  • SPACE_BUILDER_SERVER,DOCKER_REGISTRY_*
  • SPACE_APP_INTERNAL_DOMAIN_PORT
  • SPACE_APP_EXTERNAL_DOMAIN
  1. Rename variables.
  • SPACE_APP_NS ==> SPACE_APP_NAMESPACE
  • KNATIVE_GATEWAY_HOST ==> SPACE_APP_INTERNAL_HOST
  • KNATIVE_GATEWAY_PORT ==> SPACE_APP_INTERNAL_PORT
  • SERVER_CASDOOR_PORT ==> CASDOOR_PORT (reset to 8000)
  1. Extract other shared variables to adapt to external services.
  2. The docker server address no longer needs to be provided, and the docker server now runs as dind service by default.
  3. You do not need to manually create docker-registry-config in k8s, this operation will be automatically completed during installation.
  4. Now cancel the exposure of ports of other services except nginx proxy, and expose them through nginx proxy.
  • 80 default csghub service access port
  • 2222 default git ssh clone port
  • 5000 default registry image warehouse service port
  • 8000 default casdoor User management service port
  • 9000-9001 Default minio object storage service port
    Notes: Port modification is also done through .env
  1. All configuration files are now stored in the ./configs directory and data files stored in the ./data by default. If there is no special requirement, no manual modification is required.

Data changes
Remove the use of docker volumes for easier management:

  • volume:redis ==> ./data/redis (uid:999, gid: root)
  • volume:pgdata ==> ./data/postgresql/data (uid:999, gid: root)
  • volume:minio_data ==> ./data/minio (uid:1001, gid: root)
  • ./space_data ==> ./data/csghub_space_builder
  • ./nats/jetstream ==> ./data/nats/jetstream
  • ./data/data/gitaly/git/repositories ==> ./data/gitaly/repositories

Notes: If an old data directory exists, move the directory according to the corresponding management.

Log directory:
All log files are stored in the ./logs directory.

What's Changed

Full Changelog: v1.2.2...v1.2.3