selfhosted-apps-docker
selfhosted-apps-docker copied to clipboard
[Feature Request] Cockpit example
So far I figured out it needs extra-hosts
in docker-compose
:
extra_hosts:
- "host.docker.internal:host-gateway"
The following config in caddy:
cocpit.example.com {
reverse_proxy host.docker.internal:9090
}
/etc/cockpit/cockpit.conf
:
[WebService]
Origins = https://example.com wss://example.com
AllowUnencrypted = true
ProtocolHeader = X-Forwarded-Proto
As a bonus this will showcase how to expose local non-docker apps.
Maybe also mention ufw / firewall