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.
41 lines
972 B
YAML
41 lines
972 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
yourls-app:
|
|
image: yourls:1.9.2
|
|
|
|
environment:
|
|
YOURLS_SITE: https://${YOURLS_HOST}
|
|
YOURLS_USER: ${YOURLS_ADMIN_USER}
|
|
YOURLS_PASS: ${YOURLS_ADMIN_PASSWORD}
|
|
YOURLS_DB_HOST: yourls-mysql
|
|
YOURLS_DB_USER: yourls
|
|
YOURLS_DB_PASS: ${MYSQL_PASSWORD}
|
|
YOURLS_DB_NAME: yourls
|
|
volumes:
|
|
- yourls-data:/var/www/html
|
|
depends_on:
|
|
yourls-mysql:
|
|
condition: service_healthy
|
|
restart: always
|
|
|
|
yourls-mysql:
|
|
image: mysql:5.7
|
|
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
|
|
MYSQL_DATABASE: yourls
|
|
MYSQL_USER: yourls
|
|
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
|
|
volumes:
|
|
- yourls-mysql-data:/var/lib/mysql
|
|
healthcheck:
|
|
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u$$MYSQL_USER", "-p$$MYSQL_PASSWORD"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
restart: always
|
|
|
|
volumes:
|
|
yourls-data:
|
|
yourls-mysql-data: |