Use with an external Caddy Server #51
-
|
Hi everyone! I am currently setting up the Caddy Proxy Manager using Docker, but my Caddy Server is running bare metal inside a separate LXC container (installed via official repo, not Dockerized). I have successfully established the API communication by configuring the admin block in my Caddyfile and setting CADDY_API_URL to point to the LXC IP in my .env file. My Current Setup: The Challenge: volumes:
Since Caddy is running bare metal on a different "machine" (LXC), these files (typically in /var/log/caddy/ and /var/lib/caddy/) are not naturally accessible to the Docker container. This results in an empty dashboard and no certificate visibility. Questions for the Maintainers: I believe many users running Caddy on Proxmox LXCs or dedicated VMs would benefit from a more "network-native" way to sync this data. Thanks for the amazing work! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Hello, Unfortunately this would require re-architecturing the system, it's easier to just mount the folders remotely via NFS. Writes are not that much intensive so should be doable without any particular bottleneck. Example: |
Beta Was this translation helpful? Give feedback.
The proxy hosts have to be created on the webui only, as that's the source of truth (the data is stored in the database and the json configuration is re-created every time from that), mixing with caddyfiles is not supported unfortunately