Architecture:
- Queue mode (multiple workers)
- PostreSQL
- Redis
- Prepared to be behind Traefik as reverse proxy
Here you can find 2 options:
- Local development environment with
docker-compose-devel.yaml - Server deployment behind Traefik with
docker-compose-srv.yaml. It requires an external Traefik with Docker provider configured.
Make a symlink with the correct docker-compose file:
- Local:
ln -s docker-compose-devel.yaml docker-compose.yaml - Server:
ln -s docker-compose-srv.yaml docker-compose.yaml
Prepare the .env files:
.env. Use.env.exampleas base.db/.env. Usedb/.env.exampleas base.n8n/.env. Usen8n/.env.exampleas base.
All the .env files follow this rules:
- Divided by sections
- The required ENV values, that must be manually checked/filled, are uncommented. The rest that are commented are optional.
- All the ENV variables that have a default value, are assigned with that value.
- If the type of the value is an Enum, it has a comment below with the possible values.
You can add extra features registering the Community Edition with a License Key.
- Multiple server configurations (more than one
docker-compose-srv.yaml). Add one simpler without queue. Possible options:-basicand-queue - Add a server configuration with separated webhook containers (also replicable,
-queue-webhook).