New Docker-Compose.yml Incorrect and Causing Issues

The new instructions for installing n8n on ubuntu with Docker Compose .yml file is incorrect. it contains 2 spaces before “volumes:
traefik_data:
external: true
n8n_data:
external: true”

This causes an additional property error with docker-compose.

Also it would help for newer users to include:
sudo usermod -aG docker $USER
newgrp docker

before the step “docker volume create n8n_data
docker volume create traefik_data”

1 Like

Hey @rudy0,

Welcome to the community :cake:

This will be fixed shortly, I didn’t get a chance on Friday to update it. The usermod is there as an optional step as it not required but what I have got saved locally is to use sudo before the volume creation.

1 Like

Confirmed everything working as intended!

2 Likes