2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 10:10:12 +00:00

fix portal configuration for local run (#358)

This commit is contained in:
Rebecca Star 2018-11-19 09:35:47 -05:00 committed by GitHub
parent 3c2bba108b
commit 9d58713f92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -332,7 +332,6 @@ lazy val portal = (project in file("modules/portal")).enablePlugins(PlayScala, A
routesGenerator := InjectedRoutesGenerator,
coverageExcludedPackages := "<empty>;views.html.*;router.*",
javaOptions in Test += "-Dconfig.file=conf/application-test.conf",
javaOptions in run += "-Dhttp.port=9001 -Dconfig.file=modules/portal/conf/application.conf",
// adds an extra classpath to the portal loading so we can externalize jars, make sure to create the lib_extra
// directory and lay down any dependencies that are required when deploying

View File

@ -0,0 +1,9 @@
http.port = 9001
crypto {
type = "vinyldns.core.crypto.JavaCrypto"
secret = "8B06A7F3BC8A2497736F1916A123AA40E88217BE9264D8872597EF7A6E5DCE61"
}
// Local.conf has files specific to your environment, for example your own LDAP settings
include "local.conf"

View File

@ -139,7 +139,7 @@ crypto {
secret = ${?CRYPTO_SECRET}
}
http.port = 9001
http.port = 9000
http.port = ${?PORTAL_PORT}
links = [