- web: nginx:alpine serving the static SPA, listens on WEB_CONTAINER_PORT rendered from deploy/nginx.conf.template (envsubst), gzip + cache headers, /healthz, proxies /api/ to the api container - api: julia:1.13-bookworm, libpq5 + curl, Pkg.instantiate from the committed Manifest, listens on FARM_API_PORT, healthcheck on /api/v1/health - db: postgres:17-alpine with 001_init.sql mounted for first-run schema, pg_isready healthcheck, named volume - every port comes from .env (container port + host port separated); .env.example committed, .env ignored
35 lines
591 B
Plaintext
35 lines
591 B
Plaintext
# .dockerignore — ตัดของที่ไม่อยู่ใน image เว็บ
|
|
# คัดลอกเฉพาะ path ที่ Dockerfile ระบุ จึงไม่ควรพึ่งไฟล์นี้ แต่กันไว้ไม่ให้ context ใหญ่
|
|
.git
|
|
.gitignore
|
|
node_modules
|
|
farm-blog
|
|
intro-irre
|
|
archive
|
|
coding/scss
|
|
coding/js
|
|
coding/logic
|
|
coding/img
|
|
Document
|
|
e-book
|
|
open data
|
|
SQL
|
|
PWA-fam-plans
|
|
startbootstrap-*
|
|
start bootstrap
|
|
start Bootstrap
|
|
---
|
|
_readme.txt
|
|
*.tmp
|
|
*.docx
|
|
*.pdf
|
|
*.zip
|
|
*.download
|
|
service
|
|
tests
|
|
tools
|
|
scripts
|
|
*.md
|
|
.env
|
|
.env.*
|