Skip to content

Commit 46f5d66

Browse files
committed
feat: add N8N encryption key and SSL config options to deployment workflow
1 parent 0a62954 commit 46f5d66

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/deploy-changed-samples.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ jobs:
104104
TEST_SHARED_SECRETS: ${{ secrets.TEST_SHARED_SECRETS}}
105105
TEST_TAVILY_API_KEY: ${{ secrets.TEST_TAVILY_API_KEY }}
106106
TEST_ALLOWED_HOSTS: ${{ secrets.TEST_ALLOWED_HOSTS }}
107+
TEST_N8N_ENCRYPTION_KEY: ${{ secrets.TEST_N8N_ENCRYPTION_KEY }}
108+
TEST_DB_POSTGRESDB_SSL_ENABLED: ${{ secrets.TEST_DB_POSTGRESDB_SSL_ENABLED }}
109+
TEST_DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED: ${{ secrets.TEST_DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED }}
107110
run: |
108111
SAMPLES=$(sed 's|^samples/||' changed_samples.txt | paste -s -d ',' -)
109112
echo "Running tests for samples: $SAMPLES"

samples/n8n/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ For this sample, you will need to provide the following [configuration](https://
3434

3535
The password for your Postgres database. You need to set this before deploying for the first time.
3636

37+
*You can easily set this to a random string using `defang config set POSTGRES_PASSWORD --random`*
38+
39+
### `N8N_ENCRYPTION_KEY`
40+
41+
The encryption key for your n8n instance. This is used to encrypt sensitive data in the database.
42+
43+
*You can easily set this to a random string using `defang config set N8N_ENCRYPTION_KEY --random`*
44+
3745
### `DB_POSTGRESDB_SSL_ENABLED`
3846

3947
Set to `true` to enable SSL. Set to `false` to disable SSL.

0 commit comments

Comments
 (0)