From 661661c5f21c3bf257d13fa00375fc21c9838466 Mon Sep 17 00:00:00 2001 From: Giovanni Santini Date: Fri, 4 Sep 2026 18:02:06 +0200 Subject: [PATCH] feat(services): add 9router template (#11592) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com> --- public/svgs/9router.svg | 11 +++++++++++ templates/compose/9router.yaml | 28 ++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 public/svgs/9router.svg create mode 100644 templates/compose/9router.yaml 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