diff --git a/public/svgs/9router.svg b/public/svgs/9router.svg new file mode 100644 index 0000000000..a72e45bef3 --- /dev/null +++ b/public/svgs/9router.svg @@ -0,0 +1,11 @@ + + + 9 + + + + + + + + diff --git a/templates/compose/9router.yaml b/templates/compose/9router.yaml new file mode 100644 index 0000000000..31b71a3ddd --- /dev/null +++ b/templates/compose/9router.yaml @@ -0,0 +1,28 @@ +# 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_PASSWORDWITHSYMBOLS_PASSWORD} + - JWT_SECRET=${SERVICE_PASSWORDWITHSYMBOLS_64_JWTSECRET} + - API_KEY_SECRET=${SERVICE_PASSWORDWITHSYMBOLS_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