{
  "id": "coder",
  "name": "Coder",
  "slogan": "A self-hosted platform for cloud development environments, backed by Postgres. This runs the Coder server only, with no Docker socket, so add workspace templates that use remote infrastructure. Create the first admin on first open.",
  "category": "Developer Tools",
  "categorySlug": "developer-tools",
  "tags": [
    "postgres",
    "multi-service"
  ],
  "license": {
    "spdx": "AGPL-3.0-or-later",
    "class": "network-copyleft"
  },
  "memoryMiB": 768,
  "architectures": {
    "amd64": "unknown",
    "arm64": "unknown"
  },
  "trust": "listed",
  "verified": false,
  "status": "active",
  "installCommand": "levelrail-cli templates install coder --name my-coder",
  "deployFormats": [
    "cli",
    "api"
  ],
  "url": "https://levelrail.com/templates/coder/",
  "docsUrl": "https://coder.com/docs",
  "sourceRepo": "https://github.com/coder/coder",
  "markdownUrl": "https://levelrail.com/templates/coder.md",
  "jsonUrl": "https://levelrail.com/templates/coder.json",
  "indexable": true,
  "description": "A self-hosted platform for cloud development environments, backed by Postgres. This runs the Coder server only, with no Docker socket, so add workspace templates that use remote infrastructure. Create the first admin on first open.",
  "pinnedTag": "v2.39.1",
  "licenseUrl": "https://github.com/coder/coder/blob/HEAD/LICENSE",
  "licenseClassLabel": "Network copyleft (AGPL) license",
  "needsConfig": false,
  "gpu": false,
  "firstRun": [
    "Open the page and create the first admin user."
  ],
  "services": [
    {
      "name": "coder",
      "image": "ghcr.io/coder/coder",
      "tag": "v2.39.1",
      "ports": [
        7080
      ],
      "volumes": []
    },
    {
      "name": "db",
      "image": "postgres",
      "tag": "17.11-alpine",
      "ports": [],
      "volumes": [
        "pgdata -> /var/lib/postgresql/data"
      ]
    }
  ],
  "env": [
    {
      "service": "coder",
      "name": "CODER_ACCESS_URL",
      "kind": "preset"
    },
    {
      "service": "coder",
      "name": "CODER_HTTP_ADDRESS",
      "kind": "preset"
    },
    {
      "service": "coder",
      "name": "CODER_PG_CONNECTION_URL",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_DB",
      "kind": "preset"
    },
    {
      "service": "db",
      "name": "POSTGRES_PASSWORD",
      "kind": "generated"
    },
    {
      "service": "db",
      "name": "POSTGRES_USER",
      "kind": "preset"
    }
  ],
  "verifiedTag": null,
  "verifiedArches": [],
  "aliases": [],
  "findings": [],
  "compose": null,
  "deploy": {
    "cli": "levelrail-cli templates install coder --name my-coder",
    "api": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/coder/install \\\n  -d '{\n    \"name\": \"my-coder\"\n  }'",
    "stack": null,
    "terraform": null,
    "formats": [
      {
        "id": "cli",
        "label": "CLI",
        "lang": "bash",
        "code": "levelrail-cli templates install coder --name my-coder",
        "note": "Add --domain SERVICE=HOST to serve a service on your own domain, for example --domain coder=app.example.com."
      },
      {
        "id": "api",
        "label": "API",
        "lang": "bash",
        "code": "curl -X POST -H \"Authorization: Bearer $TOKEN\" -H \"Content-Type: application/json\" \\\n  https://levelrail.example.com/api/v1/service-templates/coder/install \\\n  -d '{\n    \"name\": \"my-coder\"\n  }'",
        "note": "Create a token in the dashboard first. Name, env and domains are the request fields."
      }
    ]
  }
}
