-
Notifications
You must be signed in to change notification settings - Fork 319
docker-compose.yml has an error #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I hit is error also with the SSL docker-compose example. I think the port mapping for n8n should be updated also like this:
The port mapping as it currently is will map the 5678 port on your host to the 5678 port in the container, thereby bypassing the Traefik proxy. I don't even think it is necessary to expose the port either. |
Mounting the docker sock on the n8n container is a security risk. A quick web search revealed a bunch of articles advocating for not doing this.
I'm not sure if there are some features that require it, I haven't found any specifics in the docs. I'm taking a guess.. Maybe it's only needed if you are trying to manage containers from your workflow. |
That looks like a copy-paste issue. n8n container does not need access to the docker socket. I'll get that fixed. |
Hi. please remove or review this part of the .yml file in line 38:
- 'traefik.http.routers.n8n.rule=PathPrefix(
/${SUBFOLDER}{regex:$$|/.*})'
I don't know why but it gives 404 with that regex but when removed, like this:
- 'traefik.http.routers.n8n.rule=PathPrefix(
/${SUBFOLDER})'
works like a charm.
The text was updated successfully, but these errors were encountered: