mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
📚 Add 🐳 Docker Compose example for 🐘 PostgresQL
This commit is contained in:
26
docker/compose/withPostgres/README.md
Normal file
26
docker/compose/withPostgres/README.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# n8n with PostgreSQL
|
||||
|
||||
Starts n8n with PostgreSQL as database.
|
||||
|
||||
|
||||
## Start
|
||||
|
||||
To start n8n with PostgreSQL simply start docker-compose by executing the following
|
||||
command in the current folder.
|
||||
|
||||
|
||||
**IMPORTANT:** But before you do that change the default users and passwords in the [`.env`](.env) file!
|
||||
|
||||
```
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
To stop it execute:
|
||||
|
||||
```
|
||||
docker-compose stop
|
||||
```
|
||||
|
||||
## Configuration
|
||||
|
||||
The default name of the database, user and password for PostgreSQL can be changed in the [`.env`](.env) file in the current directory.
|
||||
Reference in New Issue
Block a user