Skip to main content

Air-Gapped Deployment with Docker Compose

Before starting, ensure all Docker images are loaded as described in Preparing Docker Images for Air-Gapped Installation.

Deployment Steps

  1. Transfer all Docker Compose related files to your air-gapped system.
    You can find the full list of required files and configuration details in the
    Docker Compose Deployment guide.

  2. Update your Docker Compose configuration for air-gapped use:

    • Set the environment variables shown below for the RepoFlow Server container.
    • Remove the vulnerabilities database volume as shown below.
  3. Verify that all required images exist locally:

    docker images

Environment Configuration for Air-Gapped Networks

The following environment variables should be set for the RepoFlow Server container when running in an air-gapped environment:

IS_VULNERABILITY_SCANNING_ENABLED=true
GRYPE_AUTO_UPDATE=false

Disable the Vulnerabilities Database Volume

When running in an air-gapped environment, remove the vulnerabilities database (grype-db) volume from your Docker Compose file:

- grype-db:/srv/vulnerabilitiesScanning

and remove its definition from the volumes: section:

volumes:
grype-db:

Note: Use the airgapped RepoFlow Server image when vulnerability scanning is enabled in offline environments.

Start RepoFlow

When configuration is complete and images are present locally, start RepoFlow:

docker compose up -d

Once RepoFlow is successfully deployed, continue to the next step to complete your setup: Deploying with Docker Compose