13 lines
497 B
Plaintext
13 lines
497 B
Plaintext
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Add-on: 3dprinter-octoprint
|
|
# Runs the reverse proxy.
|
|
# ==============================================================================
|
|
|
|
# Wait for web server to be available
|
|
bashio::net.wait_for 5000
|
|
|
|
bashio::log.info "Starting proxy..."
|
|
|
|
# exec caddy run --config /etc/caddy/Caddyfile
|
|
XDG_CONFIG_HOME=/data/config XDG_DATA_HOME=/data/config caddy start --config /etc/caddy/Caddyfile |