{
  "schema_version": 1,
  "generated_at": "2026-10-22T00:00:00.000Z",
  "canonical_url": "https://openlogs.fyi/tools/coder",
  "slug": "coder",
  "name": "Coder",
  "tagline": "Provisions remote development environments for developers and AI agents.",
  "replaces": {
    "summary": "Paid cloud development environment services, such as GitHub Codespaces.",
    "products": [
      {
        "slug": "github-codespaces",
        "name": "GitHub Codespaces",
        "vendor": "Microsoft",
        "url": "https://openlogs.fyi/alternatives/github-codespaces"
      }
    ]
  },
  "stack": [
    {
      "kind": "language",
      "name": "Go"
    },
    {
      "kind": "database",
      "name": "PostgreSQL"
    }
  ],
  "deployment_methods": [
    "docker_compose"
  ],
  "requirements": {
    "min_ram_mb": null,
    "min_cpu_cores": null,
    "source_url": null
  },
  "license": {
    "spdx": "AGPL-3.0",
    "class": "osi",
    "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/LICENSE"
  },
  "business_model": {
    "value": "unknown",
    "notes": "The README at the pinned commit does not state a business model, so it stays unknown.",
    "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/README.md",
    "checked_at": "2026-10-22"
  },
  "difficulty": {
    "value": "medium",
    "reason": "2 services (1 database or broker: postgres), 3 volume mounts, 1 env value to set, host access: docker_socket. Heuristic score 5 of 11: medium."
  },
  "repository": {
    "owner": "coder",
    "name": "coder",
    "url": "https://github.com/coder/coder"
  },
  "compose_check": {
    "status": "config_ok",
    "validated_at": "2026-10-22",
    "summary": "config_ok on 2026-10-22"
  },
  "recipe": {
    "version": 1,
    "source_path": "compose.yaml",
    "source_repo": "coder/coder",
    "source_commit_sha": "04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5",
    "source_kind": "app_repo",
    "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml"
  },
  "install_steps": [
    {
      "order": 1,
      "kind": "prerequisite",
      "language": "text",
      "label": "Docker with the Compose plugin",
      "body": "A host with Docker and the Docker Compose plugin. This entry runs from a compose file.",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "validation_status": "unvalidated"
    },
    {
      "order": 2,
      "kind": "compose",
      "language": "yaml",
      "label": "Save the compose file as compose.yaml",
      "body": "services:\n  coder:\n    # This MUST be stable for our documentation and\n    # other automations.\n    image: ${CODER_REPO:-ghcr.io/coder/coder}:${CODER_VERSION:-latest}\n    ports:\n      - \"7080:7080\"\n    environment:\n      CODER_PG_CONNECTION_URL: \"postgresql://${POSTGRES_USER:-username}:${POSTGRES_PASSWORD:-password}@database/${POSTGRES_DB:-coder}?sslmode=disable\"\n      CODER_HTTP_ADDRESS: \"0.0.0.0:7080\"\n      # You'll need to set CODER_ACCESS_URL to an IP or domain\n      # that workspaces can reach. This cannot be localhost\n      # or 127.0.0.1 for non-Docker templates!\n      CODER_ACCESS_URL: \"${CODER_ACCESS_URL}\"\n    # If the coder user does not have write permissions on\n    # the docker socket, you can uncomment the following\n    # lines and set the group ID to one that has write\n    # permissions on the docker socket.\n    #group_add:\n    #  - \"998\" # docker group on host\n    volumes:\n      - /var/run/docker.sock:/var/run/docker.sock\n      # Run \"docker volume rm coder_coder_home\" to reset the dev tunnel url (https://abc.xyz.try.coder.app).\n      # This volume is not required in a production environment - you may safely remove it.\n      # Coder can recreate all the files it needs on restart.\n      - coder_home:/home/coder\n    depends_on:\n      database:\n        condition: service_healthy\n  database:\n    # Minimum supported version is 13.\n    # More versions here: https://hub.docker.com/_/postgres\n    image: \"postgres:17\"\n    # Uncomment the next two lines to allow connections to the database from outside the server.\n    #ports:\n    #  - \"5432:5432\"\n    environment:\n      POSTGRES_USER: ${POSTGRES_USER:-username} # The PostgreSQL user (useful to connect to the database)\n      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-password} # The PostgreSQL password (useful to connect to the database)\n      POSTGRES_DB: ${POSTGRES_DB:-coder} # The PostgreSQL default database (automatically created at first launch)\n    volumes:\n      - coder_data:/var/lib/postgresql/data # Use \"docker volume rm coder_coder_data\" to reset Coder\n    healthcheck:\n      test:\n        [\n          \"CMD-SHELL\",\n          \"pg_isready -U ${POSTGRES_USER:-username} -d ${POSTGRES_DB:-coder}\",\n        ]\n      interval: 5s\n      timeout: 5s\n      retries: 5\nvolumes:\n  coder_data:\n  coder_home:\n",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "validation_status": "config_ok"
    },
    {
      "order": 3,
      "kind": "env",
      "language": "text",
      "label": "Set the values the compose file needs",
      "body": "These variables have no default in the compose file: CODER_ACCESS_URL. Compose reads them from the shell or from a .env file next to the compose file. Replace the placeholder values listed under Gotchas.",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "validation_status": "unvalidated"
    },
    {
      "order": 4,
      "kind": "shell",
      "language": "bash",
      "label": "Start it",
      "body": "docker compose up -d",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "validation_status": "unvalidated"
    },
    {
      "order": 5,
      "kind": "verify",
      "language": "text",
      "label": "Open the app",
      "body": "Open http://localhost:7080. The compose file publishes host port 7080 for the coder service.",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "validation_status": "unvalidated"
    }
  ],
  "notes": [
    {
      "kind": "gotcha",
      "title": "Some images use the latest tag or no tag",
      "body": "Images without a pinned version: coder: ${CODER_REPO:-ghcr.io/coder/coder}:${CODER_VERSION:-latest}. A later pull can get a different version.",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "checked_at": "2026-10-22"
    },
    {
      "kind": "gotcha",
      "title": "The compose file has placeholder values",
      "body": "Placeholder values: CODER_PG_CONNECTION_URL is \"password\" (coder), POSTGRES_PASSWORD is \"password\" (database).",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "checked_at": "2026-10-22"
    },
    {
      "kind": "gotcha",
      "title": "The compose file publishes host ports",
      "body": "Host ports: 7080 (coder). A port without a host address listens on all host network interfaces.",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "checked_at": "2026-10-22"
    },
    {
      "kind": "gotcha",
      "title": "Some services get elevated host access",
      "body": "coder mounts the Docker socket, which gives it control of Docker on the host.",
      "source_url": "https://github.com/coder/coder/blob/04d7d4da9c868e3f1b6ff05ff68517d322ffd8d5/compose.yaml",
      "checked_at": "2026-10-22"
    }
  ],
  "signals": {
    "captured_at": "2026-10-22",
    "stars": 17136,
    "forks": 1637,
    "open_issues": 1228,
    "last_push": "2026-10-22",
    "days_since_push": 0,
    "latest_release": "v2.37.5",
    "latest_release_date": "2026-10-19",
    "days_since_release": 2
  },
  "links": {
    "html": "https://openlogs.fyi/tools/coder",
    "markdown": "https://openlogs.fyi/tools/coder.md",
    "json": "https://openlogs.fyi/tools/coder.json"
  },
  "updated_at": "2026-10-22"
}
