Host everything on the website: hosting guide, setup files, downloads; source code button
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# The Kestrove website: static files only. Replace DOMAIN and the root path.
|
||||
DOMAIN {
|
||||
kestrove.samialabri.com {
|
||||
encode zstd gzip
|
||||
root * /srv/kestrove-website
|
||||
root * /srv/site
|
||||
header {
|
||||
Strict-Transport-Security "max-age=63072000"
|
||||
X-Content-Type-Options nosniff
|
||||
@@ -0,0 +1,19 @@
|
||||
# The Kestrove website. Run from this folder: docker compose up -d
|
||||
name: kestrove-website
|
||||
services:
|
||||
web:
|
||||
image: caddy:2.8-alpine
|
||||
restart: unless-stopped
|
||||
read_only: true
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
- "443:443/udp"
|
||||
volumes:
|
||||
- ./Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
- ..:/srv/site:ro
|
||||
- caddy-data:/data
|
||||
- caddy-config:/config
|
||||
volumes:
|
||||
caddy-data:
|
||||
caddy-config:
|
||||
Reference in New Issue
Block a user