Files
coolify/templates/compose/9router.yaml
T
Andras Bacsai 554bd354bf fix: support host storage paths and clean up cancelled deployments
Allow validated host file and directory mounts outside resource directories
while protecting external paths from deletion.

Clean up cancelled deployment containers and clear tracked process IDs.
Preserve legacy KeyDB and Dragonfly password parsing, accept server backup
paths without extension restrictions, and allow Compose variable proxy ports.
2026-10-05 11:08:52 +02:00

29 lines
864 B
YAML

# 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