feat: add Docker infrastructure scaffold
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
HASH=$(caddy hash-password --plaintext "${ADMIN_PASSWORD:-changeme}")
|
||||
export ADMIN_PASSWORD_HASH="$HASH"
|
||||
|
||||
if [ -n "${HOST_DOMAIN:-}" ]; then
|
||||
export SITE_ADDRESS="$HOST_DOMAIN"
|
||||
else
|
||||
export SITE_ADDRESS=":80"
|
||||
fi
|
||||
|
||||
exec caddy run --config /etc/caddy/Caddyfile --adapter caddyfile
|
||||
Reference in New Issue
Block a user