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.
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
# This templates requires additional traefik port mapping and entry point
|
|
# for port 8883 (mqtts over TCP)
|
|
#
|
|
# For the full instructions, refer to:
|
|
# - https://github.com/Dokploy/dokploy/discussions/3126
|
|
#
|
|
# The initial login credentials are:
|
|
# - USERNAME: admin
|
|
# - PASSWORD: public
|
|
|
|
services:
|
|
emqx:
|
|
image: emqx/emqx-enterprise:6.0.1
|
|
hostname: node1.emqx.com
|
|
environment:
|
|
EMQX_NODE_NAME: [email protected]
|
|
expose:
|
|
- 1883 # MQTT
|
|
- 8083 # WS
|
|
- 18083 # Dashboard
|
|
volumes:
|
|
- emqx_data:/opt/emqx/data
|
|
- emqx_log:/opt/emqx/log
|
|
networks:
|
|
dokploy-network:
|
|
aliases:
|
|
- emqx-service
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "/opt/emqx/bin/emqx_ctl", "status"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
labels:
|
|
# MQTT over TLS
|
|
- "traefik.tcp.routers.emqx-mqtts.entrypoints=mqtts"
|
|
- "traefik.tcp.routers.emqx-mqtts.rule=HostSNI(`broker.yourdomain.com`)" # Change domain
|
|
- "traefik.tcp.routers.emqx-mqtts.tls.certresolver=letsencrypt"
|
|
- "traefik.tcp.routers.emqx-mqtts.service=emqx-service"
|
|
- "traefik.tcp.services.emqx-service.loadbalancer.server.port=1883"
|
|
|
|
#
|
|
# Optional Web UI:
|
|
# - https://github.com/emqx/MQTTX/tree/main/web
|
|
#
|
|
# mqttx-web:
|
|
# image: emqx/mqttx-web:latest
|
|
# expose:
|
|
# - 80
|
|
#
|
|
|
|
volumes:
|
|
emqx_data:
|
|
emqx_log:
|
|
|
|
networks:
|
|
dokploy-network:
|
|
external: true
|