feat: Add OmniRoute - Free LLM Gateway Template (#920)

* feat: Add OmniRoute - Free LLM Gateway Template

Adding the OmniRoute template to Dokploy.

Never stop coding. Free AI gateway: one endpoint, 160+ providers (50+ free), connect Claude Code, Codex, Cursor, Cline & Copilot to FREE Claude/GPT/Gemini. RTK+Caveman stacked compression saves 15-95% tokens, smart auto-fallback, MCP/A2A, multimodal APIs, Desktop/PWA.

* fix: Testing files updated

Testing files with pnpm updated.

* fix(omniroute): pin OmniRoute image version, fix template.toml syntax, normalize metadata

* chore: Add VS Code setting for git config auto-approval

* chore(app): add pnpm-workspace.yaml to fix pnpm workspace config
This commit is contained in:
df4p
2026-07-07 18:44:13 -03:00
committed by GitHub
parent f796047552
commit 38483d467c
6 changed files with 100 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
services:
omniroute:
image: diegosouzapw/omniroute:3.8.17
restart: unless-stopped
expose:
- "20128"
- "20129"
volumes:
- omniroute-prod-data:/app/data
environment:
- NODE_ENV=production
- PORT=${PORT:-20128}
- DASHBOARD_PORT=${DASHBOARD_PORT:-${PORT:-20128}}
- API_PORT=${API_PORT:-20129}
- API_HOST=${API_HOST:-0.0.0.0}
- HOSTNAME=0.0.0.0
- DATA_DIR=/app/data
- PATH=/home/node/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
redis:
image: redis:8.6.2-alpine
restart: unless-stopped
volumes:
- redis-prod-data:/data
command: redis-server --save 60 1 --loglevel warning
healthcheck:
test: [ "CMD", "redis-cli", "ping" ]
interval: 10s
timeout: 5s
retries: 3
volumes:
omniroute-prod-data:
redis-prod-data:

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

@@ -0,0 +1,31 @@
[variables]
main_domain = "${domain}"
[config]
[[config.domains]]
serviceName = "omniroute"
port = 20128
host = "${main_domain}"
[config.env]
JWT_SECRET = "${base64:64}"
API_KEY_SECRET = "${base64:64}"
INITIAL_PASSWORD = "${base64:64}"
STORAGE_ENCRYPTION_KEY = "${base64:64}"
STORAGE_ENCRYPTION_KEY_VERSION = "v1"
DISABLE_SQLITE_AUTO_BACKUP = false
PORT = 20128
API_PORT = 20129
OMNIROUTE_USE_TURBOPACK = 1
NODE_ENV = "production"
MACHINE_ID_SALT = "endpoint-proxy-salt"
AUTH_COOKIE_SECURE = false
REQUIRE_API_KEY = false
ALLOW_API_KEY_REVEAL = false
BASE_URL = "http://localhost:20128"
CLOUD_URL = ""
NEXT_PUBLIC_BASE_URL = "http://localhost:20128"
ENABLE_SOCKS5_PROXY = true
NEXT_PUBLIC_ENABLE_SOCKS5_PROXY = true
PROVIDER_LIMITS_SYNC_INTERVAL_MINUTES = 70
APP_LOG_TO_FILE = true