Skip to content

Getting Started

Get BRIDGEPORT running and manage your first server in under 5 minutes.


By the end of this guide, you will have:

  1. A running BRIDGEPORT instance
  2. Your first environment created
  3. A server added and connected
  4. Your running Docker containers discovered as services
  • Docker installed on your machine (install Docker)
  • A server to manage — either the same machine (via Docker socket) or a remote server with SSH access

Run this single command to start BRIDGEPORT:

Terminal window
docker run -d \
--name bridgeport \
-p 3000:3000 \
-v bridgeport-data:/data \
-e MASTER_KEY=$(openssl rand -base64 32) \
-e JWT_SECRET=$(openssl rand -base64 32) \
-e ADMIN_EMAIL=admin@example.com \
-e ADMIN_PASSWORD=changeme123 \
ghcr.io/bridgeinpt/bridgeport:latest

You should see output like:

Unable to find image 'ghcr.io/bridgeinpt/bridgeport:latest' locally
latest: Pulling from bridgeinpt/bridgeport
...
Status: Downloaded newer image for ghcr.io/bridgeinpt/bridgeport:latest
a1b2c3d4e5f6...

Verify it’s running:

Terminal window
docker logs bridgeport

Expected output:

=== BRIDGEPORT Startup ===
Database path: /data/bridgeport.db
No database found, will create fresh
Applying migrations...
...
=== Starting BRIDGEPORT ===
Server listening on 0.0.0.0:3000

Open http://localhost:3000 in your browser.

This quick-start command is for trying BRIDGEPORT out. The MASTER_KEY and JWT_SECRET are generated inline and not saved anywhere. For production, see the Installation Guide.


You’ll see the BRIDGEPORT login page. Enter the credentials you set in the docker run command:

  • Email: admin@example.com
  • Password: changeme123

After logging in, you’ll land on an empty dashboard. Time to set things up.


Environments are how BRIDGEPORT organizes your infrastructure. Think of them as logical groups — “production”, “staging”, “dev”, etc. Each environment has its own servers, services, secrets, and settings.

  1. Look at the sidebar on the left
  2. Click the environment selector dropdown at the top
  3. Click Create Environment
  4. Enter a name (e.g., production) and click Create

Your new environment is now active.


This is where it gets interesting. How you add a server depends on where your containers are running.

flowchart TD
Q["Where are your Docker containers?"]
Q -->|Same machine as BRIDGEPORT| A["Docker Socket mode"]
Q -->|A different server| B["SSH mode"]
A --> A1["Mount the Docker socket<br/>(see below)"]
B --> B1["Paste your SSH key<br/>in environment settings"]

If your containers run on the same machine as BRIDGEPORT, mount the Docker socket. First, stop and re-create the container:

Terminal window
docker stop bridgeport && docker rm bridgeport

Then re-run with the socket mounted:

Terminal window
docker run -d \
--name bridgeport \
-p 3000:3000 \
-v bridgeport-data:/data \
-v /var/run/docker.sock:/var/run/docker.sock \
-e MASTER_KEY=$(openssl rand -base64 32) \
-e JWT_SECRET=$(openssl rand -base64 32) \
-e ADMIN_EMAIL=admin@example.com \
-e ADMIN_PASSWORD=changeme123 \
ghcr.io/bridgeinpt/bridgeport:latest

For remote servers, you’ll connect via SSH.

  1. Upload your SSH key: Go to Configuration > Environment Settings in the sidebar, then upload the SSH private key that has access to your server
  2. Add the server: Go to Servers in the sidebar and click Add Server
  3. Enter the details:
    • Name: A friendly name (e.g., web-1)
    • Hostname: The server’s IP or domain (e.g., 10.0.1.50)
  4. Test the connection: BRIDGEPORT will verify SSH connectivity

Once connected, the server should appear with a healthy status.


Now for the fun part — seeing your running containers.

  1. Go to Servers in the sidebar
  2. Find your server and click Discover
  3. BRIDGEPORT scans the server for running Docker containers
  4. Each container appears as a Service with its image, status, and ports

Navigate to Services in the sidebar to see everything that was discovered. Each service is linked to a Container Image, which BRIDGEPORT uses to track tags, check for updates, and manage deployments.


Ready to see BRIDGEPORT in action? Try deploying a new tag to one of your services.

  1. Go to Services and click on a service
  2. In the Deploy card, enter a new image tag (e.g., v1.2.0)
  3. Click Deploy
  4. Watch the deployment log stream in real-time:
    • Image pulled
    • Container stopped
    • New container started
    • Health check passed

The deployment is recorded in the service’s Deployment History with full logs and timestamps.


You’ve got BRIDGEPORT running and managing your first server. Here’s where to go from here:

I want to…Read this
Set up server and service monitoringMonitoring Guide
Get notified about failures and deploymentsNotifications Guide
Connect a container registry for update checksRegistries Guide
Schedule database backupsDatabases Guide
Manage secrets and config filesSecrets Guide / Config Files Guide
Use the CLI for terminal workflowsCLI Reference
Drive BRIDGEPORT from an AI agent (Claude, Cursor)MCP Server
Deploy BRIDGEPORT for productionInstallation Guide
Understand how BRIDGEPORT is structuredCore Concepts