Is there any way I can connect my database and backend with backend using internal network
hardik7843
HOBBYOP

a month ago

I want to achieve speed. I think If I make database call through internal networks. It will fast and more secure as each query to database is passed via railway network not the internet.

Attachments

Solved$10 Bounty

Pinned Solution

In service settings, disable the Enable Serverless option.

4 Replies

You can use the variable ${{Postgres.DATABASE_URL}} in your backend service to communicate via internal networking.


hardik7843
HOBBYOP

a month ago

also how do I make sure that my server is always is running without sleep


0x5b62656e5d

You can use the variable ${{Postgres.DATABASE_URL}} in your backend service to communicate via internal networking.

hardik7843
HOBBYOP

a month ago

also how do I make sure that my server is always is running without sleep


hardik7843

also how do I make sure that my server is always is running without sleep

In service settings, disable the Enable Serverless option.


Status changed to Solved brody 14 days ago


Loading...