From 4c1afea36586fa3a6f9f1be3e4ab5921b3f2bcd3 Mon Sep 17 00:00:00 2001 From: Adolfo Reyna Date: Tue, 18 Aug 2026 18:55:54 +0000 Subject: [PATCH] chore(prod): preserve production compose settings --- docker-compose.yml | 2 ++ update.sh | 3 +++ 2 files changed, 5 insertions(+) create mode 100644 update.sh diff --git a/docker-compose.yml b/docker-compose.yml index 28fafcf..892b071 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,6 +18,8 @@ services: - WEB_PUSH_EMAIL=${WEB_PUSH_EMAIL} - EMAILPASS=${EMAILPASS} - PORT=3001 + - COOKIE_SECURE=true + - NODE_ENV=production - TRANSLATION_PROVIDER=${TRANSLATION_PROVIDER:-openai} - MARIAN_TRANSLATION_URL=http://translation:8000 volumes: diff --git a/update.sh b/update.sh new file mode 100644 index 0000000..58a3cba --- /dev/null +++ b/update.sh @@ -0,0 +1,3 @@ +git pull +docker compose down +docker compose up -d