Skip to content

Commit e83be57

Browse files
authored
Merge pull request #151 from buzz-code/claude/worker-enabled-env
Wire WORKER_ENABLED into docker-compose so schedules actually run
2 parents e5b8fef + 3f8d457 commit e83be57

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

‎.env.template‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,7 @@ SMTP_PASSWORD=password
1212
# Maintenance Mode (Server-side, auto-detected by frontend)
1313
MAINTENANCE_MODE=false
1414
MAINTENANCE_MESSAGE=המערכת בתחזוקה תכנונית. אנא נסו שוב מאוחר יותר.
15+
16+
# Enables the background job worker + schedule heartbeat (recurring jobs like
17+
# attendance-cleanup-sweep) on this server instance.
18+
WORKER_ENABLED=true

‎docker-compose-swarm.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ services:
9696
SMTP_PASSWORD: $SMTP_PASSWORD
9797
MAINTENANCE_MODE: $MAINTENANCE_MODE
9898
MAINTENANCE_MESSAGE: $MAINTENANCE_MESSAGE
99+
WORKER_ENABLED: $WORKER_ENABLED
99100
# ports:
100101
# - '30004:3000'
101102
networks:

‎docker-compose.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ services:
6363
SMTP_PASSWORD: $SMTP_PASSWORD
6464
MAINTENANCE_MODE: $MAINTENANCE_MODE
6565
MAINTENANCE_MESSAGE: $MAINTENANCE_MESSAGE
66+
WORKER_ENABLED: $WORKER_ENABLED
6667
depends_on:
6768
- database
6869
labels:

0 commit comments

Comments
 (0)