teledrive
teledrive copied to clipboard
I want to use pgsql from heroku, but there are no variables for host, db name and port in docker env file.
how to use db connection like this, so if this variable is set then app must use this for production.
postgres://
It would be appreciable if you will add steps to deploy application in heroku. Thanks
Try to type this with heroku CLI: heroku pg:credentials DATABASE
https://devcenter.heroku.com/articles/connecting-heroku-postgres#external-connections-ingress,
I am not getting what to add in env? any variable? I used heroku pg:cred to get database_url , I already have heroku url in this format: postgres://user:pass@server:5432/<db_name> but which variable i have to use in .env when i have using variables like DB_HOST=ec2XXXXXs.com DB_NAME=d7hg0srltk3us DB_PORT=5432 DB_USERNAME=aupacialotpaoa DB_PASSWORD=be058bec1ae91dba2f903c14ba394d79060ee7ba7898ea1e0a09d56e4ef0974a then still i am getting below error while starting server.
please help to solve this issue.
Ok, I managed to run it on local server, now when I am trying to login by qr code or by phone, i got success message notification but page keeps remaining on login screen. when i checked console/network. I got below error:
for Request URL: http://localhost:4000/api/v1/users/me/paymentSync
{"error":"Something error","details":{"name":"MaxRetriesPerRequestError","message":"Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details.","stack":"MaxRetriesPerRequestError: Reached the max retries per request limit (which is 20)
Can you please help me to solve this. I already set true for payment disable check in env file.
Will fix this soon