📚 Add 🐳 Docker Compose example for 🐘 PostgresQL

This commit is contained in:
Thomas LEVEIL
2019-08-21 21:56:23 +02:00
parent c339dfd5d6
commit 53c82c1e90
5 changed files with 82 additions and 1 deletions

View File

@@ -136,14 +136,16 @@ docker run -it --rm \
-e DB_TYPE=postgresdb \
-e DB_POSTGRESDB_DATABASE=<POSTGRES_DATABASE> \
-e DB_POSTGRESDB_HOST=<POSTGRES_HOST> \
-e DB_POSTGRESDB_PASSWORD=<POSTGRES_PASSWORD> \
-e DB_POSTGRESDB_PORT=<POSTGRES_PORT> \
-e DB_POSTGRESDB_USER=<POSTGRES_USER> \
-e DB_POSTGRESDB_PASSWORD=<POSTGRES_PASSWORD> \
-v ~/.n8n:/root/.n8n \
n8nio/n8n \
n8n start
```
A full working setup with docker-compose can be found [here](../../compose/withPostgres/README.md)
## Passing Senstive Data via File