お世話になっております。
今、herokuでwebDBをhostingしたいのですが、
上手く動作してくれません!
お分かりの方居られましたら、ご教示下さい。
●試した事
①portをprocess.env.PORTに設定⇒×
②portを5432に設定⇒×
③default.url="jdbc:postgresql://{host_name}:5432/{postgresql_db名}"で設定⇒×
●error(詳細はリンク)
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
●application.conf
db{ default.driver=org.postgresql.Driver default.username={username} default.password={password} default.url="jdbc:postgresql://{host_name}/{postgresql_db名}" }
●Procfile
web: target/universal/stage/bin/{herokuのapp名} -Dhttp.port=%PORT% -DapplyEvolutions.default=true -Ddb.default.driver=org.postgresql.Driver
以上、宜しくお願い致します。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2019/03/13 05:40
2019/03/13 05:46 編集
2019/03/13 06:12