mirror of
https://github.com/hanzo-apps/templates.git
synced 2026-10-30 14:48:30 +00:00
Aggregates five OSS one-click/self-hosting catalogs into the Dokploy blueprint
shape the Hanzo PaaS consumes (meta.json array + blueprints/<id>/{template.toml,
docker-compose.yml,meta.json,logo}):
Dokploy 500 (MIT, verbatim) · Coolify 174 (Apache-2.0) · CapRover 161
(Apache-2.0) · CasaOS 85 (Apache-2.0) · Runtipi 110 (GPL-3.0)
Deduped by app identity; each source + app keeps its upstream license
(ATTRIBUTION.md). Deterministic aggregators + a hard validator (every
template.toml parses with the platform's toml lib, every compose parses as YAML,
meta.json is the expected array, and an over-HTTP fetch probe exercises all
1030) — 0 hard failures. Served natively by hanzoai/static on DOKS (no CDN/Pages/
Vercel); CI builds on the hanzo-build-linux-amd64 arc pool; operator App CR in
crs/ serves it at templates.hanzo.ai.
34 lines
1.3 KiB
YAML
34 lines
1.3 KiB
YAML
version: "3.8"
|
||
|
||
services:
|
||
libretranslate:
|
||
image: libretranslate/libretranslate:latest
|
||
restart: unless-stopped
|
||
ports:
|
||
- "5000"
|
||
environment:
|
||
# Enables the API key system
|
||
- LT_API_KEYS=true
|
||
# Defines the path for the API keys database INSIDE the container
|
||
- LT_API_KEYS_DB_PATH=/app/db/api_keys.db
|
||
# Optional: Load only the languages you need to save RAM (Spanish, English, Chinese)
|
||
# - LT_LOAD_ONLY=en,es,zh-Hans
|
||
# This ensures the API is not public and does not accept requests when api_key is ""
|
||
# - LT_REQ_LIMIT=0
|
||
# This disables the web UI so it doesn’t show on the link
|
||
# - LT_DISABLE_WEB_UI=true
|
||
# This only allows requests from a specific origin page
|
||
# - LT_REQUIRE_API_KEY_ORIGIN=webthat.canuse.translate.com
|
||
volumes:
|
||
# Volume to store downloaded language models
|
||
- libretranslate_models:/home/libretranslate/.local
|
||
# Volume to store the API keys database
|
||
- libretranslate_api_keys:/app/db
|
||
|
||
volumes:
|
||
libretranslate_models:
|
||
libretranslate_api_keys:
|
||
# TO GET AN API KEY YOU MUST GO TO THE TERMINAL AND RUN -> ltmanage keys add 1000000
|
||
# To make it work only with an API key, you need to use LT_REQ_LIMIT=0 so it isn’t open to other users
|
||
# For more information, see https://docs.libretranslate.com/guides/manage_api_keys/
|