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: 4 additions & 1 deletion .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ MAINTENANCE_MODE=false
MAINTENANCE_MESSAGE=המערכת בתחזוקה תכנונית. אנא נסו שוב מאוחר יותר.

# Enables the background job worker + schedule heartbeat (recurring jobs like
# attendance-cleanup-sweep) on this server instance.
# attendance-cleanup-sweep) on this server instance. Defaults to true for the
# common single-container deployment. If ever running multiple server
# replicas, keep this true on only one of them (or a dedicated worker
# instance) - the heartbeat isn't safe to double-fire.
WORKER_ENABLED=true
2 changes: 1 addition & 1 deletion docker-compose-swarm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ services:
SMTP_PASSWORD: $SMTP_PASSWORD
MAINTENANCE_MODE: $MAINTENANCE_MODE
MAINTENANCE_MESSAGE: $MAINTENANCE_MESSAGE
WORKER_ENABLED: $WORKER_ENABLED
WORKER_ENABLED: ${WORKER_ENABLED:-true}
# ports:
# - '30004:3000'
networks:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ services:
SMTP_PASSWORD: $SMTP_PASSWORD
MAINTENANCE_MODE: $MAINTENANCE_MODE
MAINTENANCE_MESSAGE: $MAINTENANCE_MESSAGE
WORKER_ENABLED: $WORKER_ENABLED
WORKER_ENABLED: ${WORKER_ENABLED:-true}
depends_on:
- database
labels:
Expand Down
Loading