feat(services): add 9router template (#11592)

Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
Giovanni Santini
2026-09-04 18:02:06 +02:00
committed by GitHub
co-authored by 🏔️ Peak
parent 9e54991621
commit 661661c5f2
2 changed files with 39 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="32" height="32" rx="6" fill="url(#gradient)"/>
<text x="16" y="24" font-family="system-ui, -apple-system, sans-serif" font-size="20" font-weight="700" fill="white" text-anchor="middle">9</text>
<defs>
<linearGradient id="gradient" x1="0" y1="0" x2="32" y2="32" gradientUnits="userSpaceOnUse">
<stop stop-color="#f97815"/>
<stop offset="1" stop-color="#c2590a"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 533 B

+28
View File
@@ -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