Skip to content

Commit

Permalink
changed host environment variable to METADATA_HOST instead of METADAT…
Browse files Browse the repository at this point in the history
…A_URL as it's actually host not url
  • Loading branch information
musketyr committed Dec 7, 2015
1 parent 4ad3f4b commit 78c0d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conf/docker/mc-config.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// config
grails.logging.jul.usebridge = false
grails.serverURL = "http://${System.getenv('VIRTUAL_HOST') ?: System.getenv('METADATA_URL') ?: System.getenv('DOCKER_MACHINE_IP') ?: new URL("http://checkip.amazonaws.com").text.trim()}"
grails.serverURL = "http://${System.getenv('VIRTUAL_HOST') ?: System.getenv('METADATA_HOST') ?: System.getenv('DOCKER_MACHINE_IP') ?: new URL("http://checkip.amazonaws.com").text.trim()}"

// datasource
dataSource {
Expand Down

0 comments on commit 78c0d1b

Please sign in to comment.