caddy-retired/build
Kebler Network System Administrator 6567658636 refactor of caddy script
- put commandline option back int
- supports instance folder in conf/
-  supports _shared conf folder
-- supports instance script
moved instance specific conf to branches
moved things around and updated gitigonre in support of refactored script
2021-10-10 12:36:03 -07:00
..
builds.txt refactor of caddy script 2021-10-10 12:36:03 -07:00
plugins.txt moved all scripts to scripts directory and refactored accordingly 2020-10-27 10:09:20 -07:00
readme.md new install script for github releases 2020-10-26 10:11:41 -07:00

readme.md

Build A Caddy Binary

Setup go and go get

Update xcaddy

run update-xcaddy script

xcaddy is used to build a caddy binary for a particular architecture and with particular plugins.

Edit the build script add/remove plugins to be including with the build.

those will be the --with lines commented lines will ignore that plugin. All plugins will be collected from some url

   --with github.com/iamd3vil/caddy_yaml_adapter \
   --with github.com/caddy-dns/route53 # for route53 dns chanlled

so simply ./build will build the amd64 version. use ./build arm64 for arm64 build

when sucessfully deploy the binary to the caddy deployment repo with ./deploy <arch> then in the caddy deployment repo commit that change and push. Then pull on installations for which the new binary is desired.