fix(deploy): persist inquiries and pass SMTP into the portfolio container
The contact form needs a durable SQLite volume and Strato credentials on the VPS, otherwise production inquiries vanish or never leave the box. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -7,6 +7,16 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
- UPDATES_API_URL=http://updates-api:8080
|
- UPDATES_API_URL=http://updates-api:8080
|
||||||
|
- NEXT_PUBLIC_SITE_URL=https://w-make.com
|
||||||
|
- CONTACT_TO=${CONTACT_TO:-eldov@w-make.de}
|
||||||
|
- "CONTACT_FROM=${CONTACT_FROM:-W-MAKE <eldov@w-make.de>}"
|
||||||
|
- SMTP_HOST=${SMTP_HOST:-smtp.strato.de}
|
||||||
|
- SMTP_PORT=${SMTP_PORT:-465}
|
||||||
|
- SMTP_USER=${SMTP_USER:-eldov@w-make.de}
|
||||||
|
- SMTP_PASS=${SMTP_PASS}
|
||||||
|
- INQUIRIES_DB_PATH=/data/inquiries.sqlite
|
||||||
|
volumes:
|
||||||
|
- inquiries_data:/data
|
||||||
expose:
|
expose:
|
||||||
- "3000"
|
- "3000"
|
||||||
labels:
|
labels:
|
||||||
@@ -58,6 +68,7 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
updates_data:
|
updates_data:
|
||||||
|
inquiries_data:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
|
|||||||
Reference in New Issue
Block a user