ha-3dprinter-addons/3dprinter-octoprint/rootfs/etc/services.d/proxy/run
2022-10-02 21:58:17 +02:00

13 lines
403 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..."
caddy start --config /etc/caddy/Caddyfile --watch