Files
officinazuliani/docs/handoffs/2026-11-04-deploy-docker.md
T
andrearuffiniandClaude Opus 5.5 0571890d47 feat: deploy in Docker on the a75 server like cam85
Nginx image built locally for amd64 and loaded via docker save/load,
compose on the a75 network behind Nginx Proxy Manager (port 3000).
Live on officinezuliani.a75.eu with noindex on non-production hosts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 15:18:44 +01:00

32 lines
1.3 KiB
Markdown

# Handoff
## Issue
None (explicit user instruction: deploy like cam85, same server, Docker)
## Goal
Containerize the static site and deploy it on the a75 server with the cam85 flow.
## Status
ready-for-review — live on https://officinezuliani.a75.eu
## What changed
- `Dockerfile` (Node build → nginx), `docker/nginx.conf`, `.dockerignore`, `docker-compose.yml`, `deploy.sh`
- ADR 0004, runbook deploy, module map, constraints, CLAUDE.md
## Files touched
- see above
## Tests
- Run: local container on :8089 — all pages 200, `/officina.html` → 301 `/officina`, `/index.html` → 301 `/`, unknown URL 404
- Run: `./deploy.sh` → container `officinezuliani-site` up, internal check from `nginx-app-1` HTTP 200
- Run: public HTTPS on https://officinezuliani.a75.eu — all pages 200, `.html` → 301, 404 for unknown, `X-Robots-Tag: noindex` present; real-domain Host header gets no noindex
## Risks / open questions
- NPM proxy host forwards to port 3000: container switched to 3000 to match (cam85 convention)
- HTTP is not redirected to HTTPS on the test host (NPM "Force SSL" off)
- Real domain still points to Italiaonline/Duda: switch only at launch
- No custom 404 page yet (nginx default)
## Suggested next step
- Phase 2 content (service pages, FAQ page), contact form decision, custom 404 page