Fix three critical issues: Docker healthcheck, USD->EUR pricing, static asset caching
Some checks failed
Deploy to Production / Deploy to Server (push) Failing after 22s
Some checks failed
Deploy to Production / Deploy to Server (push) Failing after 22s
- Docker healthcheck: Use Node.js instead of curl (not installed in slim image) - Pricing: Change from USD ($) to EUR (€) in frontend and backend Stripe integration - Static assets: Add Cache-Control headers (1 day) for /public and /docs files
This commit is contained in:
parent
76714d799e
commit
03dd6c17df
4 changed files with 46 additions and 6 deletions
|
|
@ -31,6 +31,12 @@ services:
|
|||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
healthcheck:
|
||||
test: ["CMD", "node", "-e", "fetch('http://localhost:3100/health').then(r=>{if(!r.ok)process.exit(1)}).catch(()=>process.exit(1))"]
|
||||
interval: 30s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 30s
|
||||
mem_limit: 2560m
|
||||
cpus: 1.5
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue