Skip to content

Commit 305bc62

Browse files
ImTotemclaude
andcommitted
fix(infra): allow n8n env var access in workflow nodes
n8n 2.11+ blocks $env access by default. Set N8N_BLOCK_ENV_ACCESS_IN_NODE=false so workflows can read SYNC_TOKEN and GOOGLE_SHEETS_ID. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9264a22 commit 305bc62

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

infra/docker/docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ services:
3737
N8N_ENCRYPTION_KEY: "${N8N_ENCRYPTION_KEY}"
3838
SYNC_TOKEN: "${SYNC_TOKEN}"
3939
GOOGLE_SHEETS_ID: "${GOOGLE_SHEETS_ID}"
40+
N8N_BLOCK_ENV_ACCESS_IN_NODE: "false"
4041
volumes:
4142
- n8n-data:/home/node/.n8n
4243
- ../../workflows:/workflows:ro

0 commit comments

Comments
 (0)