feat(17-02): docker-compose.yml with env_file secrets, DNS fix, named volume; update .gitignore

- env_file: .env.production — secrets injected at runtime, not baked into image
- dns array [8.8.8.8, 1.1.1.1] + NODE_OPTIONS=--dns-result-order=ipv4first for SMTP EAI_AGAIN fix
- Named volume uploads:/app/uploads persists PDFs across container restarts
- restart: unless-stopped, port 3000:3000
- .gitignore: added /uploads/ entry for production Docker volume path
This commit is contained in:
Chandler Copeland
2026-04-03 16:56:25 -06:00
parent e83ced580d
commit a107970269
2 changed files with 24 additions and 0 deletions

View File

@@ -39,3 +39,7 @@ yarn-error.log*
# typescript
*.tsbuildinfo
next-env.d.ts
scripts/.ure-session.json
# Production uploads (Docker volume on server)
/uploads/