Files
website/compose.prod.yaml
Jimmy bf110d0bc7 Split compose dev/prod and relax contact form friction.
Use compose.dev.yaml and compose.prod.yaml with fixed Go cache mounts, block sudo make dev, build Air outside app/tmp for rootless Docker, soften English spam checks, and simplify contact error copy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 11:41:13 +12:00

28 lines
546 B
YAML

# Production website (built image, gallery on host).
# Run: make up
services:
website:
image: technical.kiwi/website
container_name: technicalkiwi
build:
context: .
dockerfile: Dockerfile
volumes:
- ./app/images:/app/images
env_file:
- .env
environment:
IMAGES_DIR: /app/images
networks:
- caddy
labels:
caddy: technical.kiwi
caddy.reverse_proxy: "{{upstreams 8080}}"
caddy.tls: "admin@technical.kiwi"
networks:
caddy:
external: true
name: caddy