diff --git a/.env.example b/.env.example index 5075b90..e9878bd 100644 --- a/.env.example +++ b/.env.example @@ -14,3 +14,14 @@ # # All other secrets (access tokens, passwords, etc.) belong only in estore/.env # — never put them here. + +# ── Main site admin ─────────────────────────────────────────────────────────── +MAIN_ADMIN_PASSWORD= + +# ── Contact form (main-site) ────────────────────────────────────────────────── +SMTP_HOST=mail.beachpartyballoons.com +SMTP_PORT=587 +SMTP_SECURE=false +SMTP_USER=info@beachpartyballoons.com +SMTP_PASS= +CONTACT_TO=info@beachpartyballoons.com diff --git a/docker-compose.yml b/docker-compose.yml index 22e2568..18fd182 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -25,6 +25,12 @@ services: environment: NODE_ENV: production ADMIN_PASSWORD: ${MAIN_ADMIN_PASSWORD} + SMTP_HOST: ${SMTP_HOST} + SMTP_PORT: ${SMTP_PORT:-587} + SMTP_SECURE: ${SMTP_SECURE:-false} + SMTP_USER: ${SMTP_USER} + SMTP_PASS: ${SMTP_PASS} + CONTACT_TO: ${CONTACT_TO} volumes: - ./main-site/update.json:/usr/src/app/update.json restart: always