FLAME Hub with Docker Compose
The Docker Compose setup is intended for development and evaluation. It uses fixed development credentials, mounts the Docker socket for the core worker, and does not include Harbor. Use the Helm deployment for a production Hub.
Get the configuration
Clone the repository and enter the Compose directory:
git clone https://github.com/PrivateAIM/hub-deployment.git
cd hub-deployment/docker-compose
cp .env.example .envThe executable configuration remains in the Hub Deployment repository:
Configure the environment
The example .env supports these basic overrides:
| Variable | Default | Purpose |
|---|---|---|
HUB_IMAGE | ghcr.io/privateaim/hub | Hub container image repository |
HUB_IMAGE_TAG | latest | Hub image tag |
SUBNET | 172.40.1.0/24 | Compose network subnet |
The Compose file also accepts service URL overrides such as PUBLIC_URL, AUTHUP_PUBLIC_URL, CORE_PUBLIC_URL, and STORAGE_PUBLIC_URL. Review the current Compose file before changing them.
Analyses require a reachable Harbor registry. This setup does not deploy one, so either install Harbor separately or use an existing instance. Harbor must be reachable over HTTPS. Set HARBOR_URL without the scheme and include the credentials:
HARBOR_URL=<username>:<password>@<harbor-host>Do not commit the populated .env file.
Start and inspect the stack
docker compose up -d
docker compose ps
docker compose logs -fThe bundled NGINX listens on http://localhost:3000 and routes the Hub services by path. Stop the stack with:
docker compose downNamed volumes retain database and object-store data. Use docker compose down --volumes only when you intentionally want to delete that local data.