Add env-configurable GA/form/map; remove & artifacts; verify clone completeness

- Remove 4 stray '&' files (crawl artifact) that duplicated footer/about-us/contactus/root
- Replace hardcoded GA id, form email, map src with placeholders (GA_ID, FORM_EMAIL, GMAP_EMBED)
- Add entrypoint.sh: envsubst injects env vars into HTML at container startup
- Add .env.example + .dockerignore/.gitignore guarding .env secrets
- Google Map type A (free embed, no API key) configurable via GMAP_LAT/LNG
- Verify: all 39 pages, images (38/home), content blocks (296) match original; 0 missing assets

Full clone comparison against www.mitsuthailand.com confirms sections complete.
This commit is contained in:
2026-08-06 14:27:32 +07:00
parent e04ea1dd27
commit eea7c4780e
47 changed files with 2276 additions and 8026 deletions

15
.dockerignore Normal file
View File

@@ -0,0 +1,15 @@
.git
.gitignore
.env
.env.*
!.env.example
*.md
mirror_log*.txt
__pycache__
*.pyc
postprocess.py
repair.py
cleanup.py
common.py
mirror.py
rewrite.py