You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Casket is a fork of mholt's Caddy web server v1.
Its goal is to maintain Caddy's original goal of being a straight forward, simple
to use web server rather than the direction of Caddy v2 which has a focus on
microservices and programmatic configurability.
Casket will come with all the features you love about Caddy v1, while also
adding our own touches for convenience and usability.
To build the main casket executable, the following procedure can be used:
git clone https://github.com/tmpim/casket
cd casket
go build -o ./build/casket ./casket
# The executable can now be found at ./build/casket
Note these development builds will lack version information and will report a version of (devel). You can also instead create a snapshot build using the following procedure:
go install github.com/goreleaser/goreleaser@latest # Install goreleaser
goreleaser build --snapshot --rm-dist --single-target --id casket # Create a snapshot build# The executable can now be found at ./build/casket_linux_amd64/casket
Docker
A docker image is provided for the latest version of Casket from ghcr.io/tmpim/casket.
version: "3.8"services:
casket:
image: ghcr.io/tmpim/casket:latest # or a specific version like v1.2restart: unless-stoppedports:
- "80:80"# HTTP
- "443:443"# HTTPSvolumes:
- ./Casketfile:/config/Casketfile # Pass in your casket config
- ./static:/www # Pass in your static content
- casket_data:/data # Create a volume to store persistent data (e.g. certificates)