Docs/Candor Deploy
Add your own app to the catalog
Write a JSON app definition for your own stack and add it to your workspace's app catalog with Add a custom app, so it installs in one click like the built-in apps.
The Apps page is a catalog of apps you can install in one click, such as databases and dashboards. You can add your own to it. A custom app is a JSON file that describes the containers to run, how they connect, which passwords to generate, and what to show once the app is running. It is visible only in your workspace.
Use a custom app for a stack you install more than once: an internal tool, a standard set of services for each client, or a self-hosted app that is not in the catalog. To deploy your own code from a repository, you do not need this; see the Quickstart.
Add one
- Open Apps in the sidebar and press Add custom. The Add a custom app dialog opens.
- Drop your
app.jsonfile on the box, or press browse and choose it. - The file is checked straight away. A green Valid app definition line means it passed. Otherwise the error says what is wrong.
- Press Add app.
The app now appears in your catalog and installs like any other.
Every custom app is marked Unverified. It runs the images you named, which nobody has reviewed. Only add definitions you have read and trust. A "verified": true line in the file is ignored.
Rules the check enforces:
- The file must be valid JSON and pass the same validation as the built-in catalog.
kindmust be"template".- The
idcannot be the same as a built-in app’s.
A small example
This defines Umami, a web analytics app, with its own PostgreSQL database:
{
"id": "umami",
"name": "Umami",
"description": "Privacy-focused web analytics.",
"kind": "template",
"category": "analytics",
"framework": "docker-compose",
"services": [
{
"name": "umami-db",
"image": "postgres:16-alpine",
"environment": { "POSTGRES_DB": "umami", "POSTGRES_USER": "umami" },
"secretEnv": ["POSTGRES_PASSWORD"],
"volumes": ["umami_db_data:/var/lib/postgresql/data"],
"healthcheck": { "test": "pg_isready -U umami", "interval": "5s", "retries": 10 },
"restart": "unless-stopped"
},
{
"name": "umami",
"image": "ghcr.io/umami-software/umami:postgresql-v2.11.3",
"ports": ["3000:3000"],
"exposedPort": 3000,
"exposed": true,
"dependsOn": ["umami-db"],
"environment": {
"DATABASE_TYPE": "postgresql",
"DATABASE_URL": "postgresql://umami:{{config:POSTGRES_PASSWORD}}@umami-db:5432/umami"
},
"secretEnv": ["DATABASE_URL", "APP_SECRET"],
"restart": "unless-stopped"
}
],
"configFields": [
{ "key": "POSTGRES_PASSWORD", "service": "umami-db", "label": "Database password",
"generate": "secret", "secret": true },
{ "key": "APP_SECRET", "service": "umami", "label": "App secret",
"generate": "secret", "secret": true }
],
"endpoints": [
{ "service": "umami", "port": 3000, "label": "Dashboard", "kind": "http" }
],
"connection": {
"title": "Umami",
"description": "Sign in, then add a website to get its tracking snippet.",
"outputs": [
{ "id": "dashboard", "label": "Dashboard", "source": "publicUrl:umami",
"kind": "url", "recommended": true }
],
"firstLogin": {
"username": "admin",
"password": "umami",
"note": "Change this immediately after the first sign-in."
}
}
}
The image tag is an example. Pin the version you have tested.
The parts of a definition
Identity. id is a short lowercase name with hyphens, such as umami. name, description, category and tags are what people see in the catalog. logo can name a logo from Simple Icons (for example "umami"); without one, a placeholder is shown.
Services. Each entry in services is one container. Give it either an image to pull or a build (an inline Dockerfile and its files), not both. The service name is also its host name on the app’s private network, which is why the app above reaches its database at umami-db.
portsandexposedPortsay which port the container listens on.exposed: truemarks the service people should reach in a browser.volumeskeeps data across restarts and redeploys. Use named volumes, such asumami_db_data:/var/lib/postgresql/data. Paths on the server and the Docker socket are not allowed.dependsOnandhealthcheckmake a service wait until the one it needs is ready, not just started.
Generated secrets. Never put a fixed password in the file. Declare it in configFields with "generate": "secret" and a random value is created at install time. To put that value inside another setting, such as a connection string, write {{config:KEY}}. List every variable that holds or contains a secret in that service’s secretEnv, so it is stored encrypted and masked.
Endpoints. endpoints lists what the install screen offers to put on a domain. Use "kind": "http" for a web interface and "kind": "tcp" for a raw port. A domain is only attached if you choose one when installing; Candor Deploy never picks one for you.
The connection card. connection is the card shown after the install: the addresses and keys someone needs to use the app. source reads a value from the running app, for example publicUrl:umami or env:umami-db:POSTGRES_PASSWORD. Mark credentials with "secret": true so they are hidden until revealed. firstLogin is for a fixed sign-in that the image ships with.
Settings. settings adds a form for options people change after installing, instead of editing raw environment variables. A field with "installStep": true is also asked for during the install. The rule of thumb: if a person types it, it is a setting; if it is generated or derived, it is a configField.
Tips
- Use the publisher’s official image at a pinned version, never
latest. - Keep anything that must survive a redeploy, such as uploads and database files, in a named volume.
- Install the app on a test server first, check the connection card, then use it for real.
- To change a custom app, add the corrected file again with the same
id. It replaces the earlier version in your catalog.
Related
- Builds and configuration: how compose services, volumes and environment variables work.
- Multi-service apps: managing the services of an installed app.
Something here wrong, unclear or missing? Tell us. Docs get fixed like bugs.
Not a customer yet? Start a free trial, or see plans and limits.