How to Deploy CodeScene On-prem?

The recommended option for installing CodeScene is Docker.

image (12)-2

Running CodeScene in Kubernetes

While CodeScene On-Premise does not support running multiple instances directly, you can deploy it in a Kubernetes environment using the official Docker image. The setup is outlined below:

  • Docker Image: CodeScene is available as the codescene/codescene Docker image.

  • Persistent Storage: The image defines a volume at /codescene for storing application data. Make sure to mount a persistent volume to this path to ensure data durability across restarts.

  • Service Port: The container exposes the web UI (http) on port 3003. Configure your Kubernetes Service or Ingress to route traffic appropriately.

  • Health Checks: A /health endpoint is available for liveness and readiness probes. It returns a simple 200 OK response with an “OK” message, useful for monitoring container health.