Allow exposing graphdb and phpmyadmin via config
This commit is contained in:
parent
9f7ec20593
commit
a90c68bf5e
8 changed files with 139 additions and 14 deletions
|
|
@ -32,22 +32,14 @@
|
|||
</table>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1-1">
|
||||
<h2 id="overview">Distillery Configuration</h2>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1-1">
|
||||
<pre>
|
||||
<code class="language-yaml">{{ .Config.MarshalSensitive }}</code>
|
||||
</pre>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1-1">
|
||||
<h2 id="overview">Distillery Passwords</h2>
|
||||
<h2 id="overview">Distillery Services</h2>
|
||||
<table class="pure-table pure-table-bordered padding">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Service</th>
|
||||
<th>Interface</th>
|
||||
<th>Username</th>
|
||||
<th>Password</th>
|
||||
</tr>
|
||||
|
|
@ -57,6 +49,14 @@
|
|||
<td>
|
||||
SQL
|
||||
</td>
|
||||
<td>
|
||||
{{ $pma := .Config.HTTP.PhpMyAdminURL }}
|
||||
{{ if $pma }}
|
||||
<a href="{{ $pma }}" class="pure-button pure-button-small" target="_blank" rel="noopener noreferer">PHPMyAdmin</a>
|
||||
{{ else }}
|
||||
(accessible via SSH)
|
||||
{{ end }}
|
||||
</td>
|
||||
<td>
|
||||
<code class="copy">{{ .Config.SQL.AdminUsername }}</code>
|
||||
</td>
|
||||
|
|
@ -68,6 +68,14 @@
|
|||
<td>
|
||||
Triplestore
|
||||
</td>
|
||||
<td>
|
||||
{{ $ts := .Config.HTTP.TSURL }}
|
||||
{{ if $ts }}
|
||||
<a href="{{ $ts }}" class="pure-button pure-button-small" target="_blank" rel="noopener noreferer">Workbench</a>
|
||||
{{ else }}
|
||||
(accessible via SSH)
|
||||
{{ end }}
|
||||
</td>
|
||||
<td>
|
||||
<code class="copy">{{ .Config.TS.AdminUsername }}</code>
|
||||
</td>
|
||||
|
|
@ -77,4 +85,14 @@
|
|||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1-1">
|
||||
<h2 id="overview">Distillery Configuration</h2>
|
||||
</div>
|
||||
|
||||
<div class="pure-u-1-1">
|
||||
<pre>
|
||||
<code class="language-yaml">{{ .Config.MarshalSensitive }}</code>
|
||||
</pre>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue