You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: samples/n8n/README.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,22 +34,13 @@ For this sample, you will need to provide the following [configuration](https://
34
34
35
35
The password for your Postgres database. You need to set this before deploying for the first time.
36
36
37
-
*You can easily set this to a random string using `defang config set POSTGRES_PASSWORD --random`*
37
+
_You can easily set this to a random string using `defang config set POSTGRES_PASSWORD --random`_
38
38
39
39
### `N8N_ENCRYPTION_KEY`
40
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
-
45
-
### `DB_POSTGRESDB_SSL_ENABLED`
46
-
47
-
Set to `true` to enable SSL. Set to `false` to disable SSL.
48
-
49
-
### `DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED`
50
-
51
-
Set to `true` to reject unauthorized certificates. Set to `false` to accept unauthorized certificates. Counterintuitive, but leave this as **true** to **disable SSL** (required for local dev and playground).
41
+
The encryption key for your n8n instance. This is used to encrypt sensitive data in the database.
52
42
43
+
_You can easily set this to a random string using `defang config set N8N_ENCRYPTION_KEY --random`_
53
44
54
45
## Deployment
55
46
@@ -61,13 +52,27 @@ Set to `true` to reject unauthorized certificates. Set to `false` to accept unau
61
52
Deploy your application to the Defang Playground by opening up your terminal and typing:
62
53
63
54
```bash
64
-
defang compose up
55
+
defang compose -f compose.playground.yaml up
65
56
```
66
57
67
58
### BYOC
68
59
69
60
If you want to deploy to your own cloud account, you can [use Defang BYOC](https://docs.defang.io/docs/tutorials/deploy-to-your-cloud).
70
61
62
+
There no need to specify a compose file, as the default `compose.yaml` will be used.
63
+
64
+
## Tips and Troubleshooting
65
+
66
+
If you like to learn more about n8n configuration, check out the [n8n docs](https://docs.n8n.io/hosting/configuration/environment-variables/).
67
+
68
+
### `DB_POSTGRESDB_SSL_ENABLED`
69
+
70
+
Set to `true` to enable SSL. Set to `false` to disable SSL.
71
+
72
+
### `DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED`
73
+
74
+
Set to `true` to reject unauthorized certificates. Set to `false` to accept unauthorized certificates. Counterintuitive, but leave this as **true** to **disable SSL** (required for local dev and playground).
0 commit comments