Compose-Examples/examples/n8n
2024-11-04 13:08:51 +01:00
..
.env chore: update n8n 2024-09-27 01:09:20 +02:00
docker-compose.yml fix: remove deprecated compose version tag 2024-11-04 13:08:51 +01:00
init-database.sh chore: fix init psql 2024-09-26 20:05:59 +02:00
README.md chore: update readme refs 2024-09-27 01:10:28 +02:00

References

Notes

You have to pre-supply a database init script to properly setup the postgresql database beforehand.

Please follow these steps to do so:

# create new directory for database
mkdir -p /mnt/docker-volumes/n8n/storage

# move the init file from this repo to the new location
mv init-database.sh /mnt/docker-volumes/n8n/.

# fix permissions
sudo chown -R 0:1000 /mnt/docker-volumes/n8n/
sudo chmod -R 775 /mnt/docker-volumes/n8n/

# adjust environment variables
nano .env

Afterwards, you can proceed spawning up the docker compose stack:

docker compose up -d