Open Enterprise
Browse topics
DocumentationStart here

Run Open Enterprise locally

Start the example application, enroll its first owner, and sign in to a workspace. The compact installation uses Docker Compose.

Before you start

Install Docker with the Compose plugin. Start Docker. Open a terminal in the Open Enterprise checkout, in the directory that contains compose.compact.yaml.

The example uses ports 3000 for the application, 8080 for the runtime, and 8025 for the development inbox.

Start the services

Shell
docker compose -f compose.compact.yaml --profile mail up -d --build --wait

Compose starts the application, the Rust runtime, and PostgreSQL. The mail profile adds a local inbox for account verification.

Check that the runtime can reach its database.

Shell
curl --fail http://localhost:8080/readyz

The runtime returns HTTP 200 and this response.

JSON
{"status":"ready"}

Enroll the first owner

Run this command once for the example organization.

Shell
docker compose -f compose.compact.yaml exec runtime \
  enterprise-runtime enroll /app/config.yaml \
  --email owner@example.test \
  --organization org_demo \
  --organization-name "Example Studio" \
  --initial-owner

Open the single-use enrollment link from the command output. Choose a password. Open the development inbox and follow the email verification link.

Sign in to the application

Open the example application. Select Sign in with email. Enter the owner's email address and password. Select the Example Studio workspace.

Select Open administration. The People panel shows the members of this organization. From this panel, the owner can invite another person.

Stop the services

Shell
docker compose -f compose.compact.yaml --profile mail down

This command keeps the PostgreSQL volume. The next start uses the same accounts and organization.

The Compose file contains public development credentials. For a production deployment, use your own credentials and configure HTTPS. Deployment guide

Search documentation