Install Octopus Self-hosted

MSI installer

The standard way to get started on a Windows server.

Download Octopus Deploy 2026.3 (882.85 MB - Windows x64)
View checksum

MD5: 1ad6f9f012839f37ff2906f47d0da999

Chocolatey

You can also install via the command line using Chocolatey.

choco install octopusdeploy

Docker Compose

If you don't have an SQL Server database on hand, this will set one up automatically.

docker compose up -d
Copy template configuration files (.env & docker-compose.yml)

.env

# Passwords must be 8+ characters with at least three of: uppercase, lowercase, digits, symbols.
# Avoid ; $ and # in passwords (they break the connection string, Compose interpolation, or .env parsing).

# SQL Server configuration
SA_PASSWORD=<your-sql-sa-password>
ACCEPT_EULA=Y

# Octopus Deploy configuration
ACCEPT_OCTOPUS_EULA=Y
# Optional: if left empty, Octopus starts unlicensed and you can add a license later
# under Configuration > License. Get a license at https://octopus.com/free-signup
OCTOPUS_SERVER_BASE64_LICENSE=
ADMIN_USERNAME=<your-admin-username>
ADMIN_PASSWORD=<your-admin-password>
ADMIN_EMAIL=<your-admin-email>

# Master key used to encrypt sensitive data in the Octopus database.
# Generate one before first start and keep it safe - it's required every time Octopus starts against this database.
#   Linux/macOS:  openssl rand 32 | base64
#   PowerShell:   $b = New-Object byte[] 32; [Security.Cryptography.RandomNumberGenerator]::Create().GetBytes($b); [Convert]::ToBase64String($b)
MASTER_KEY=<your-master-key>

# Database connection (matches the SQL Server container above - use the same password as SA_PASSWORD)
DB_CONNECTION_STRING=Server=db,1433;Database=OctopusDeploy;User=sa;Password=<your-sql-sa-password>

docker-compose.yml

services:
  db:
    image: mcr.microsoft.com/mssql/server:latest
    environment:
      SA_PASSWORD: ${SA_PASSWORD}
      ACCEPT_EULA: ${ACCEPT_EULA}
      MSSQL_PID: Express
    ports:
      - "1401:1433"
    healthcheck:
      # mssql-tools18 encrypts by default; -C trusts SQL Server's self-signed certificate
      test: ["CMD", "/opt/mssql-tools18/bin/sqlcmd", "-S", "localhost", "-C", "-U", "sa", "-P", "$SA_PASSWORD", "-Q", "SELECT 1"]
      interval: 10s
      timeout: 5s
      retries: 5
      start_period: 20s
    volumes:
      - sqlvolume:/var/opt/mssql
  octopus-server:
    image: octopusdeploy/octopusdeploy:latest
    privileged: true
    environment:
      ACCEPT_EULA: ${ACCEPT_OCTOPUS_EULA}
      DB_CONNECTION_STRING: ${DB_CONNECTION_STRING}
      ADMIN_USERNAME: ${ADMIN_USERNAME}
      ADMIN_PASSWORD: ${ADMIN_PASSWORD}
      ADMIN_EMAIL: ${ADMIN_EMAIL}
      OCTOPUS_SERVER_BASE64_LICENSE: ${OCTOPUS_SERVER_BASE64_LICENSE}
      MASTER_KEY: ${MASTER_KEY}
    ports:
      - "1322:8080"
    depends_on:
      db:
        condition: service_healthy
    volumes:
      - repository:/repository
      - artifacts:/artifacts
      - taskLogs:/taskLogs
      - cache:/cache
      - import:/import
volumes:
  sqlvolume:
  repository:
  artifacts:
  taskLogs:
  cache:
  import:

Docker Run

If you have access to SQL Server, this is the easiest way to get started.

docker pull octopusdeploy/octopusdeploy:latest
docker run --interactive --detach --privileged --name OctopusDeploy --publish 1322:8080 \
  --env ACCEPT_EULA="Y" \
  --env DB_CONNECTION_STRING="Server=<your-sql-host>,1433;Database=OctopusDeploy;User=sa;Password=<your-sql-password>" \
  --env OCTOPUS_SERVER_BASE64_LICENSE="<your-base64-license-key>" \
  --env ADMIN_USERNAME="<your-admin-username>" \
  --env ADMIN_PASSWORD="<your-admin-password>" \
  --env MASTER_KEY="<your-master-key>" \
  octopusdeploy/octopusdeploy

Helm

Deploy to any Kubernetes cluster. mssql.enabled=”true” deploys an SQL Server container alongside Octopus.

helm upgrade my-octopus-instance oci://ghcr.io/octopusdeploy/octopusdeploy-helm \
  --install \
  --namespace octopus-deploy \
  --create-namespace \
  --set octopus.acceptEula="Y" \
  --set mssql.enabled="true" \
  --set octopus.licenseKeyBase64="<your-base64-license-key> \
  --set global.storageClass="<your-storage-class>" \
  --atomic

Extend Octopus Deploy

Octopus Tentacle Required
Octopus Tentacle
By Octopus Deploy
A lightweight agent installed on your deployment targets. Required for targets you can't reach over SSH or Kubernetes.
Octopus CLI
Octopus CLI
By Octopus Deploy
Manage Octopus from your terminal or scripts. Useful for automation, CI pipelines, and ad-hoc tasks from your dev environment.
Octopus for GitHub
Octopus for GitHub
By Octopus Deploy
Run Octopus deployments from your GitHub Actions workflows. Includes 13 actions for package push, release creation, runbook execution, and ephemeral environments.
Octopus for TeamCity
Octopus for TeamCity
By Octopus Deploy
Run Octopus deployments from your TeamCity builds. Push packages, create and deploy releases, and promote between environments using existing build configurations.
Octopus for Azure DevOps
Octopus for Azure DevOps
By Octopus Deploy
Run Octopus deployments from Azure Pipelines or Azure DevOps Server. Includes build tasks, release tasks, and dashboard widgets for tracking project status from your DevOps homepage.
Octopus for Jenkins
Octopus for Jenkins
By Octopus Deploy
Run Octopus deployments from your Jenkins freestyle jobs and pipelines. Pushes packages, creates releases, deploys, and forwards build information to Octopus for end-to-end traceability.
Datadog integration
Datadog integration
By Datadog
Monitor deployment performance alongside your app and infrastructure metrics. Tracks deployment time, failure rates, and pipes deployment and server logs into Datadog dashboards.