gh.com/lotharschulz/n8n-docker-setup (codeberg.org/lotharschulz/n8n-docker-setup)
I experimented with running n8n using docker. Starting n8n with Docker is great documentation to get a local setup based on docker working. However, I missed options to setup and teardown the n8n docker.
Setup.sh isn’t blocking your terminal, while the n8n docker setup is. It’s a matter of taste to use the docker detached mode, however I like better.
I check and follow logs using monitoring.sh.
The n8n docker setup stores data in a n8n_data docker volume. Restarting from scratch requires to remove that volume. This and other IMHO useful details are available in teardown.sh that I could not find anywhere else.
Repository Files
setup.sh– Creates volume and starts n8n containermonitoring.sh– Views and follows container logsteardown.sh– Stops container and optionally removes image/volume
Leave a Reply