G0DM0D3 Docker & Self-Hosted Deployment

GitHub

TypeScript repository by @elder-plinius. AI agent rules & system prompts with 12k stars.

11,845 stars TypeScript TypeScript 1 file ยท ~3,317 tokens
RAW Compose
1. Pull Image (DOCKERHUB) docker pull elder-plinius/g0dm0d3
2. Docker Run (1-Click Launch) docker run -d --name g0dm0d3 -p 3000:3000 --restart always elder-plinius/g0dm0d3:latest
3. Podman Run podman run -d --name g0dm0d3 -p 3000:3000 --restart always elder-plinius/g0dm0d3:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/elder-plinius/g0dm0d3:latest
5. ORAS Pull (OCI Artifact) oras pull elder-plinius/g0dm0d3:latest
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
# G0DM0D3 Self-Hosting Stack
#
# Spin up the full stack for you and your friends:
#   1. Copy .env.example to .env and fill in OPENROUTER_API_KEY
#   2. docker compose up --build -d
#   3. Open http://localhost:3000
#
# Your friends connect to the same URL โ€” no individual API keys needed.
# The server-side OPENROUTER_API_KEY covers everyone.

services:
  # โ”€โ”€ API Server โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  api:
    build:
      context: .
      dockerfile: Dockerfile
    restart: unless-stopped
    env_file: .env
    environment:
      - PORT=7860
    expose:
      - "7860"
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7860/v1/health"]
      interval: 30s
      timeout: 5s
      start_period: 10s

  # โ”€โ”€ Frontend (nginx) โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
  web:
    build:
      context: .
      dockerfile: Dockerfile.web
    restart: unless-stopped
    ports:
      - "${WEB_PORT:-3000}:80"
    depends_on:
      api:
        condition: service_healthy