- 6 Posts
- 9 Comments
roycorderov@alien.topOPBtoSelf-Hosted Main•which is the best solution to selfhosted n8n?English
1·3 years agoPlease, I’m struggling with the docker-compose with postgres to get my n8n up and running… so just copy the docker-compose from the doc and made changes for my needs, could you tell me if im doin it rigth? or should I change something?
i want all data in:
/docker/n8n/soroot@13-n8n-RL23-WG /docker/n8n# nano .env
POSTGRES_USER=user-rootPOSTGRES_PASSWORD=password-rootPOSTGRES_DB=n8nPOSTGRES_NON_ROOT_USER=user-nonrootPOSTGRES_NON_ROOT_PASSWORD=password-nonrootroot@13-n8n-RL23-WG /docker/n8n# nano docker-compose.yml
version: '3.8'volumes:db_storage:n8n_storage:services:postgres:image: postgres:11restart: alwaysenvironment:- POSTGRES_USER- POSTGRES_PASSWORD- POSTGRES_DB- POSTGRES_NON_ROOT_USER- POSTGRES_NON_ROOT_PASSWORDvolumes:- /docker/n8n/postgresql/data:/var/lib/postgresql/data- ./init-data.sh:/docker-entrypoint-initdb.d/init-data.shhealthcheck:test: ['CMD-SHELL', 'pg_isready -h localhost -U ${POSTGRES_USER} -d ${POSTGRES_DB}']interval: 5stimeout: 5sretries: 10n8n:image: docker.n8n.io/n8nio/n8nrestart: alwaysenvironment:- DB_TYPE=postgresdb- DB_POSTGRESDB_HOST=postgres- DB_POSTGRESDB_PORT=5432- DB_POSTGRESDB_DATABASE=${POSTGRES_DB}- DB_POSTGRESDB_USER=${POSTGRES_NON_ROOT_USER}- DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD}- WEBHOOK_URL=https://subdomain.wtf.org/- EXECUTIONS_PROCESS=main- GENERIC_TIMEZONE=America/La_Paz- TZ=America/La_Pazports:- 5678:5678links:- postgresvolumes:- /docker/n8n:/home/node/.n8ndepends_on:postgres:condition: service_healthy
roycorderov@alien.topOPBtoSelf-Hosted Main•which is the best solution to selfhosted n8n?English
1·3 years agothanks I will go for postgres database because of what I have been advised and additionally because I have been told that soon n8n will remove mysql/mariadb support.
roycorderov@alien.topOPBtoSelf-Hosted Main•which is the best solution to selfhosted n8n?English
1·3 years agoI will create a lxc conteiner in my proxmox just for him so my question would be… which one would be more secure that it will not have problems in the future? for example that it is slower or easier to be damaged or lose information or that it lacks some feature, do you know what I mean? but ok i wil go with a database thanks!
roycorderov@alien.topOPBtoSelf-Hosted Main•which is the best solution to selfhosted n8n?English
1·3 years agoI will create a lxc conteiner in my proxmox just for him so my question would be… which one would be more secure that it will not have problems in the future? for example that it is slower or easier to be damaged or lose information or that it lacks some feature, do you know what I mean?
roycorderov@alien.topOPBtoSelf-Hosted Main•which is the best solution to selfhosted n8n?
1·3 years agoaa ok thanks
roycorderov@alien.topBtoSelf-Hosted Main•Are there any concerns/risks to using Watchtower?English
1·3 years agoI got my proxmox in production and I’ve installed before whatschtower and just broke me down 4 containers with bad updates so I stoped from using whatschtower…
I would like any services that just notify me about any new docker image update whitout making any updating
roycorderov@alien.topOPBtoSelf-Hosted Main•give an old pc and disk a 2nd good life with proxmox ans synology VMEnglish
1·3 years agoYeah that’s why I didn’t try any virtualizacion just backup that’s why I just would like to share those hdd to my Synology
roycorderov@alien.topOPBtoSelf-Hosted Main•give an old pc and disk a 2nd good life with proxmox ans synology VMEnglish
1·3 years agoIm upgrading to 6gb that’s the max and just for fun I’ve install proxmox PBS and it’s working good hehe I just would like to share those disk to my Synology… 😊

ok… I couldn’t install docker with postgres so I did it with sql and that’s it I hope I don’t miss out in the future because I will have to look for someone to help me install it thanks friends