26 lines
802 B
YAML
26 lines
802 B
YAML
# ----------------------------------------------------------------------------
|
|
# jb-website — production compose file.
|
|
#
|
|
# Runs the Caddy-fronted static site. Caddy handles HTTPS via the automatic
|
|
# ACME flow at the email configured in Caddyfile. Side-hustle container
|
|
# services (signage, keycaps, etc.) would slot in alongside this one — Caddy
|
|
# in this container can proxy to them, or you can put a dedicated Caddy in
|
|
# front of all containers.
|
|
# ----------------------------------------------------------------------------
|
|
|
|
services:
|
|
web:
|
|
build: .
|
|
image: jb-website:latest
|
|
container_name: jb-website
|
|
restart: unless-stopped
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- caddy_data:/data
|
|
- caddy_config:/config
|
|
|
|
volumes:
|
|
caddy_data:
|
|
caddy_config:
|