Go to file
2024-05-01 20:57:26 +02:00
config init 2024-05-01 20:57:26 +02:00
.gitignore init 2024-05-01 20:57:26 +02:00
caddy-logs.volume init 2024-05-01 20:57:26 +02:00
caddy.network init 2024-05-01 20:57:26 +02:00
caddy.volume init 2024-05-01 20:57:26 +02:00
configure.sh init 2024-05-01 20:57:26 +02:00
README.md init 2024-05-01 20:57:26 +02:00

Caddy

Webserver and reverse proxy for installed services. Detects installed services and proxies them based on given configuration.

Configuration

Other services can use caddy as proxy. To do so, they need to provide caddy configuration files and give caddy access to their network. The ./configure.sh script will find the configuration files/networks and add them to the caddy configuration.

To configure a service to be proxied by caddy:

  1. Add *.caddy file(s) to your service with caddy configuration
  2. Add the caddy=true label to your network(s) that should be accessible by caddy
  3. Call ./configure.sh on the server to refresh the caddy configuration

Installation

  1. Clone repository to service directory
  2. Configure the service by calling ./configure.sh
  3. Start the service by calling systemctl --user start caddy-* caddy