Host your app on Railway with its own database, and put its address in your production config.
Create an empty private repository, then run the commands GitHub shows under "push an existing repository from the command line".
Click New Project, choose GitHub repo, pick your repository, and choose Add variables.
Click `+ New`. This is the live database, and only your app in this project can reach it.
In your app's service, open Settings, then Networking, and click Generate Domain. Copy the address.
It prints three lines. They go into Railway and nowhere else.
On the Variables tab, open the RAW Editor, paste these lines with your own values, and click Deploy.
Replace the `application_url` and `redirect_urls` lines that are in the file. Then commit and push: `git add -A`, `git commit -m "Production address"`, `git push`.