Add custom Postgres schema support

This commit is contained in:
Istvan Richter
2020-03-18 06:04:53 +01:00
parent ce0aaeba7d
commit 31a2138f92
5 changed files with 12 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ To use PostgresDB as database you can provide the following environment variable
- `DB_POSTGRESDB_PORT` (default: 5432)
- `DB_POSTGRESDB_USER` (default: 'root')
- `DB_POSTGRESDB_PASSWORD` (default: empty)
- `DB_POSTGRESDB_SCHEMA` (default: 'public')
```bash
@@ -47,6 +48,7 @@ export DB_POSTGRESDB_HOST=postgresdb
export DB_POSTGRESDB_PORT=5432
export DB_POSTGRESDB_USER=n8n
export DB_POSTGRESDB_PASSWORD=n8n
export DB_POSTGRESDB_SCHEMA=n8n
n8n start
```