Skip to content

On your laptop

This runs Panorama on your own machine with Docker Compose, your own AWS credentials and no identity provider. It is for working on Panorama, or for a look at the console before you deploy it. Nobody else can use it: it signs you in with a development account that only works on localhost.

To deploy it for a team, use the Quickstart, which deploys on AWS, or Deploying on a server. To change Panorama’s code, make dev runs a stack with hot reload; see CONTRIBUTING.md in the repository.

  • Docker, running.
  • AWS credentials that can invoke Amazon Bedrock, and the AWS CLI v2. The permissions Panorama needs are in Requirements. Administrator credentials on a sandbox account are fine.
  • A coding tool: Claude Code, opencode or Codex CLI.
Terminal window
git clone https://github.com/dnxlabs/panorama.git
cd panorama
cp deploy/compose/.env.example deploy/compose/.env

.env.example is the template, with a comment on every setting. Its name starts with a dot, so ls hides it; ls -a deploy/compose shows it.

Add three things to deploy/compose/.env: a region, your AWS credentials, and a sign-in for this machine.

Terminal window
echo "AWS_REGION=us-east-1" >> deploy/compose/.env
aws configure export-credentials --format env-no-export >> deploy/compose/.env
echo "PANORAMA_DEV_SIGN_IN_AS=you@example.com" >> deploy/compose/.env

Use the region you invoke Bedrock in. It can be changed in the console later.

The second line exports whatever your current AWS profile resolves to, an SSO session included. If those credentials are temporary, run it again and up -d again when they expire.

Start it. The compose file builds from source, so the first run takes a few minutes:

Terminal window
docker compose -f deploy/compose/docker-compose.yml up -d --build
curl localhost:8088/healthz

Open http://localhost:8088 and press Sign in as the development account, at the bottom of the card. Ignore the one-time code above it, which is how a real deployment connects its identity provider.

The first-run card. A one-time code field at the top, a link to sign in with a gateway token instead, and under it a Development sign-in is enabled notice with the button Sign in as the development account.The first-run card. A one-time code field at the top, a link to sign in with a gateway token instead, and under it a Development sign-in is enabled notice with the button Sign in as the development account.
A new deployment. The button you want is the last one on the card.

You land on Analytics, as an administrator. From here, follow the Quickstart from Check that Panorama can reach Bedrock onwards: the console is the same. If the check fails, the usual cause on a laptop is temporary credentials that have expired: run the aws configure export-credentials line and up -d again.

Terminal window
docker compose -f deploy/compose/docker-compose.yml down -v
rm deploy/compose/.env

-v deletes the database volume. Removing .env removes the credentials you exported.

This manual is licensed underCC BY 4.0. Code samples in it are part of Panorama, licensed under theGNU AGPL v3.0 only.