https://github.com/tmpim/casket
mholt's caddy v1 but maintained
https://github.com/tmpim/casket
Last synced: 5 months ago
JSON representation
mholt's caddy v1 but maintained
- Host: GitHub
- URL: https://github.com/tmpim/casket
- Owner: tmpim
- License: apache-2.0
- Created: 2020-04-26T00:07:53.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2025-07-29T03:00:16.000Z (11 months ago)
- Last Synced: 2025-10-22T06:36:04.200Z (8 months ago)
- Language: Go
- Homepage: https://docs.casketserver.com
- Size: 56.4 MB
- Stars: 31
- Watchers: 4
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# Casket
Casket is a fork of [mholt's Caddy web server](https://github.com/caddyserver/caddy) 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.
- [Casket documentation](https://docs.casketserver.com)
- [Caddy v1 documentation archive](https://caddy.its-em.ma)
## Building
To build the main casket executable, the following procedure can be used:
```sh
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:
```sh
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`](https://ghcr.io/tmpim/casket).
Example using [`docker-compose`](https://docs.docker.com/compose/):
```yaml
version: "3.8"
services:
casket:
image: ghcr.io/tmpim/casket:latest # or a specific version like v1.2
restart: unless-stopped
ports:
- "80:80" # HTTP
- "443:443" # HTTPS
volumes:
- ./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)
```