Favicon of Coder

Coder

Run AI coding agents at scale within secure, self-hosted environments. Gain full control over permissions, compliance, and audit logs on your own infrastructure.

Provide your developers and AI coding agents with a secure, self-hosted environment to build and innovate. This platform allows you to run AI agents at scale on your own infrastructure, giving you complete control over permissions, audit logging, and compliance. Eliminate security risks associated with exposing sensitive systems while enabling governed AI adoption.

Define and provision consistent development environments as code using Terraform. This flexible approach lets you provision any infrastructure, from VMs to Kubernetes, and supports any OS, IDE, or AI agent your team needs.

Key benefits include:

  • Govern AI coding agents: Run agents securely inside controlled cloud environments.
  • Accelerate onboarding: Get new developers coding in minutes with pre-configured workspaces.
  • Secure source code: Keep code on your infrastructure, not on local machines.
  • Optimize compute: Offload heavy ML workloads and other tasks to powerful cloud resources.
  • Replace VDI: Offer a superior, high-performance alternative to virtual desktop infrastructure.

Directory Structure

coder
postgres-data
.env
docker-compose.yml

docker-compose.yml

services:
  coder:
    image: ghcr.io/coder/coder:latest
    container_name: coder
    ports:
      - "7080:7080"
    environment:
      CODER_PG_CONNECTION_URL: "postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@database/${POSTGRES_DB}?sslmode=disable"
      CODER_HTTP_ADDRESS: "0.0.0.0:7080"
      CODER_ACCESS_URL: "${CODER_ACCESS_URL}"
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    depends_on:
      database:
        condition: service_healthy
    restart: unless-stopped

  database:
    image: postgres:14
    container_name: coder_database
    environment:
      POSTGRES_USER: ${POSTGRES_USER}
      POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
      POSTGRES_DB: ${POSTGRES_DB}
    volumes:
      - ./postgres-data:/var/lib/postgresql/data
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
      interval: 5s
      timeout: 5s
      retries: 5
    restart: unless-stopped

.env

POSTGRES_USER=coder
POSTGRES_PASSWORD=coder_super_secret_password
POSTGRES_DB=coder
CODER_ACCESS_URL=http://localhost:7080
Categories:

Share:

Ad
Favicon

 

  
 

Similar to Coder

Favicon

 

  
  
Favicon

 

  
  
Favicon