Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

864 B
Raw Blame
# documentation: https://github.com/decolua/9router
# slogan: Free AI coding gateway. Routes Claude Code, Codex, Cursor, Cline, Copilot requests to 40+ LLM providers with auto-fallback and token savings.
# category: ai
# tags: ai, gateway, routing, coding, llm, providers
# logo: svgs/9router.svg
# port: 20128

services:
  9router:
    image: decolua/9router:0.5.65
    volumes:
      - '9router:/app/data'
    environment:
      - SERVICE_URL_9ROUTER_20128
      - DATA_DIR=/app/data
      - INITIAL_PASSWORD=${SERVICE_PASSWORD_PASSWORD}
      - JWT_SECRET=${SERVICE_PASSWORD_64_JWTSECRET}
      - API_KEY_SECRET=${SERVICE_PASSWORD_KEYSECRET}
      - MACHINE_ID_SALT=${SERVICE_HEX_64_HMACSALT}
    healthcheck:
      test:
        - CMD
        - wget
        - --spider
        - 'http://127.0.0.1:20128/'
      interval: 5s
      timeout: 10s
      retries: 5