Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ SMTP_PASSWORD=password
MAINTENANCE_MODE=false
MAINTENANCE_MESSAGE=המערכת בתחזוקה תכנונית. אנא נסו שוב מאוחר יותר.

# Inbound-mail webhook (handle-email), checked against X-Webhook-Secret header. Unset = guard is a no-op.
MAIL_WEBHOOK_SECRET=

# Optional: sunset date for the legacy, unauthenticated /yemot/handle-call URL. Unset = no cutoff.
YEMOT_LEGACY_ROUTE_DEADLINE=
# Enables the background job worker + schedule heartbeat (recurring jobs like
# attendance-cleanup-sweep) on this server instance. Defaults to true for the
# common single-container deployment. If ever running multiple server
Expand Down
2 changes: 2 additions & 0 deletions docker-compose-swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ services:
SMTP_PASSWORD: $SMTP_PASSWORD
MAINTENANCE_MODE: $MAINTENANCE_MODE
MAINTENANCE_MESSAGE: $MAINTENANCE_MESSAGE
MAIL_WEBHOOK_SECRET: $MAIL_WEBHOOK_SECRET
YEMOT_LEGACY_ROUTE_DEADLINE: $YEMOT_LEGACY_ROUTE_DEADLINE
WORKER_ENABLED: ${WORKER_ENABLED:-true}
# ports:
# - '30004:3000'
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ services:
SMTP_PASSWORD: $SMTP_PASSWORD
MAINTENANCE_MODE: $MAINTENANCE_MODE
MAINTENANCE_MESSAGE: $MAINTENANCE_MESSAGE
MAIL_WEBHOOK_SECRET: $MAIL_WEBHOOK_SECRET
YEMOT_LEGACY_ROUTE_DEADLINE: $YEMOT_LEGACY_ROUTE_DEADLINE
WORKER_ENABLED: ${WORKER_ENABLED:-true}
depends_on:
- database
Expand Down
Loading