From b52f93989ce20134a5fc01e82daf8d06c37f423d Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sun, 16 Aug 2026 03:23:07 +0200 Subject: [PATCH] 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 --- docker-compose.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index 3681bb7..2fa7220 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,16 @@ services: restart: always environment: - 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 }" + - 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: - "3000" labels: @@ -58,6 +68,7 @@ services: volumes: updates_data: + inquiries_data: networks: proxy: