ems_bloo
ems_bloo
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
application.conf looks something like this
play{
filters{
hosts{
allowed = [".railway.app"]
}
}
http{
secret{
key="changeme"
key=${?APPLICATION_SECRET}
}
server{
http{
port = ${?env.PORT}
address = 0.0.0.0
}
https{
port = ${?env.PORT}
address = 0.0.0.0
}
}
}
}
play{
filters{
hosts{
allowed = [".railway.app"]
}
}
http{
secret{
key="changeme"
key=${?APPLICATION_SECRET}
}
server{
http{
port = ${?env.PORT}
address = 0.0.0.0
}
https{
port = ${?env.PORT}
address = 0.0.0.0
}
}
}
}
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
Managed to get it working by overriding the port in the start command in the settings deploy section ./target/universal/stage/bin/main -Dhttp.port=$PORT
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
Thanks for the help @Fragly
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
If i get it sorted out I'll post in here
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
I'll play with how I set the host and port env variables and see if I can get that figured out
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
Okay, at least its deployed now.
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
No description
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
Ah i had mine set up as PORT
17 replies
RRailway
Created by ems_bloo on 10/18/2023 in #✋|help
"Already in use" error when deploying Scala play
No description
17 replies