Phase 4/5: host demos via Apache container behind Caddy

deploy/smb-demos: compose + runbook for the static demo host
(httpd on the proxy network, routed by Caddy at demos.mivanchenko.de).
Pending a DNS A record before Caddy can issue TLS.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-24 15:03:25 +02:00
parent 2bd6499ae5
commit a6eb8a415c
2 changed files with 31 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
# Static demo landing pages, served by Apache on the homelab host.
# Lives at /home/mivanchenko/smb-demos on the server; site/ is templates/landing/.
# Routed by Caddy: demos.mivanchenko.de { reverse_proxy smb-demos:80 }
# Requires a DNS A record demos.mivanchenko.de -> 188.193.49.3 (no wildcard DNS).
services:
smb-demos:
image: httpd:2.4-alpine
container_name: smb-demos
restart: always
volumes:
- ./site:/usr/local/apache2/htdocs:ro
networks:
- proxy
networks:
proxy:
external: true