Last active
June 27, 2018 15:30
-
-
Save viblo/76a5969c84f59470233ec2b618dd5c8f to your computer and use it in GitHub Desktop.
Metabase config for Azure web app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set MB_JETTY_PORT=%MB_JETTY_PORT: =% | |
"%JAVA_HOME%\bin\java.exe" -Djava.net.preferIPv4Stack=true -jar ./metabase.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration> | |
<system.webServer> | |
<handlers> | |
<add name="httpPlatformHandler" path="*" verb="*" modules="httpPlatformHandler" resourceType="Unspecified" /> | |
</handlers> | |
<!-- set stdoutLogEnabled to true to get log files with useful info from metabase --> | |
<httpPlatform processPath="%HOME%\site\wwwroot\run.bat" | |
stdoutLogEnabled="false" | |
startupTimeLimit="120" | |
startupRetryCount="3"> | |
<environmentVariables> | |
<environmentVariable name="MB_JETTY_PORT" value="%HTTP_PLATFORM_PORT%" /> | |
</environmentVariables> | |
</httpPlatform> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi, how is this used? I'm trying to set up metabase on azure. Thanks