A skeleton for getting started with a self-hosted n8n environment running in Docker Compose.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Marcus a2e303b611 add encryption key env variable 6 months ago
..
.env add encryption key env variable 6 months ago
README.md import docker-compose examples from n8n-io/n8n 1 year ago
docker-compose.yml add encryption key env variable 6 months ago
init-data.sh import docker-compose examples from n8n-io/n8n 1 year ago

README.md

n8n with PostgreSQL and Worker

Starts n8n with PostgreSQL as database, and the Worker as a separate container.

Start

To start n8n 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 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 file in the current directory.