4 months ago
I have a question , i found this link to install n8n
https://railway.com/deploy/n8n
but already have database postgress my doubt is if I cant use the same database?
if I cant use the same database, where I could see the spend that generate new instance of postgress?
I think ye create another schema.
Thanks,
Best
Pinned Solution
4 months ago
IIRC, you can deploy n8n directly from n8nio's Docker image (https://hub.docker.com/r/n8nio/n8n) and use an existing database. Just ensure that the environment variables that are listed in the image description are defined when deploying the service.
You can also use n8n's example Compose file for reference: https://github.com/n8n-io/n8n-hosting/blob/main/docker-compose/withPostgres/docker-compose.yml
2 Replies
4 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
4 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 4 months ago
4 months ago
IIRC, you can deploy n8n directly from n8nio's Docker image (https://hub.docker.com/r/n8nio/n8n) and use an existing database. Just ensure that the environment variables that are listed in the image description are defined when deploying the service.
You can also use n8n's example Compose file for reference: https://github.com/n8n-io/n8n-hosting/blob/main/docker-compose/withPostgres/docker-compose.yml
Status changed to Solved noahd • 3 months ago