Hey everyone! I'm running my own n8n server within Docker on a Windows machine, and I need to adjust an environment variable to allow access to the host page from other devices on my local network. Specifically, I need to set "N8N_SECURE_COOKIE" to false in my n8n container. I came across some guidance that mentioned editing the container and looking for the list of environment commands that includes this variable, but I'm not sure how to actually edit the container or where to find that list. Can someone walk me through the process?
1 Answer
You can find help on setting environment variables in Docker using the official documentation. Just look here: https://docs.docker.com/compose/how-tos/environment-variables/set-environment-variables/. It explains how to set them up when creating or editing your containers.
I figured it out myself! When setting up the container, you can enter the environmental variables right there. Just recreate your container and you should see it in the setup phase.
Yeah, I looked through it, but I'm still unclear about where to find the 'docker-compose.yml' file. Can you help clarify that?