SYS-18: add production deployment stack for karbe.cosmolan.fr (Stripe test)
- enable Next.js standalone output and add Docker/Caddy production stack - add production env template and deployment runbook - add healthcheck endpoint for container supervision - fix existing lint/type blockers discovered during validation Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
0a366c65db
commit
c9be24a969
11 changed files with 201 additions and 5 deletions
14
docker/Caddyfile
Normal file
14
docker/Caddyfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
email ops@cosmolan.fr
|
||||
}
|
||||
|
||||
karbe.cosmolan.fr {
|
||||
encode zstd gzip
|
||||
reverse_proxy app:3000
|
||||
|
||||
header {
|
||||
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
|
||||
X-Content-Type-Options "nosniff"
|
||||
Referrer-Policy "strict-origin-when-cross-origin"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue