feat: add full Zonemaster stack with Docker and Spanish UI
- Clone all 5 Zonemaster component repos (LDNS, Engine, CLI, Backend, GUI) - Dockerfile.backend: 8-stage multi-stage build LDNS→Engine→CLI→Backend - Dockerfile.gui: Astro static build served via nginx - docker-compose.yml: backend (internal) + frontend (port 5353) - nginx.conf: root redirects to /es/, /api/ proxied to backend - zonemaster-gui/config.ts: defaultLanguage set to 'es' (Spanish) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
44
zonemaster-backend/zonemaster_launch
Executable file
44
zonemaster-backend/zonemaster_launch
Executable file
@@ -0,0 +1,44 @@
|
||||
#!/bin/sh
|
||||
|
||||
|
||||
case $1 in
|
||||
|
||||
cli)
|
||||
shift 1
|
||||
zonemaster-cli $@
|
||||
;;
|
||||
|
||||
zmb)
|
||||
shift 1
|
||||
zmb $@
|
||||
;;
|
||||
|
||||
zmtest)
|
||||
shift 1
|
||||
zmtest $@
|
||||
;;
|
||||
|
||||
rpcapi)
|
||||
/usr/local/bin/starman --listen=0.0.0.0:5000 --preload-app --user=zonemaster --group=zonemaster /usr/local/bin/zonemaster_backend_rpcapi.psgi
|
||||
|
||||
;;
|
||||
|
||||
testagent)
|
||||
/usr/local/bin/zonemaster_backend_testagent -user=zonemaster --group=zonemaster foreground
|
||||
;;
|
||||
|
||||
full)
|
||||
exec /init
|
||||
;;
|
||||
*)
|
||||
echo "'$1' is not a valid option.
|
||||
Available options:
|
||||
- cli : pass argument to zonemaster-cli then quit
|
||||
- full : start both rpcapi & testagent
|
||||
- rpcapi
|
||||
- testagent
|
||||
- zmb
|
||||
- zmtest
|
||||
"
|
||||
;;
|
||||
esac;
|
||||
Reference in New Issue
Block a user