{template.description}
+{template.description}
+ {#await template then returnedTemplate} + {#if dockerStats && dockerStats.name} +diff --git a/src/lib/ServiceStats.svelte b/src/lib/ServiceStats.svelte index 1944dae..7fae600 100644 --- a/src/lib/ServiceStats.svelte +++ b/src/lib/ServiceStats.svelte @@ -7,123 +7,107 @@
{template.platform}
- {template.platform}
{/if}
{#if template.image}
- {template.image}
- {template.image}
{/if}
{#if template.command}
- {template.command}
- {template.command}
{/if}
{#if typeof template.interactive === 'boolean'}
- {template.interactive ? 'Yes' : 'No'}
- {template.interactive ? 'Yes' : 'No'}
{/if}
{#if template.ports}
-
- {#each template.ports as port}{port}{/each}
-
+ {#each template.ports as port}{port}{/each}
+
- {#each template.volumes as volume}{volume.container || volume}{/each}
-
+ {#each template.volumes as volume}
+
+ {volume.container || volume}{volume?.bind? ' : ' + volume.bind : ''}
+ {/each}
+
{template.restart_policy}
- {template.restart_policy}
{/if}
{#if template.repository}
- {template.entrypoint}
- {template.entrypoint}
{/if}
{#if template.build}
- {template.build}
- {template.build}
{/if}
{#if template.env}
-
- {#each template.env as env}{env.name}={env.set || env.value || env.default}{/each}
+
+ {#each template.env as env}{env.name}={env.set || env.value || env.default || '\'\''}{/each}
Temp no Found
\ No newline at end of file + + +It doesn't look like there was a templated named "{templateName}"
++ You can try searching for another, or if you think there's a mistake somewhere, + please open an issue on the Github Repo. +
+ Back Home +
- {template.description}
+{template.description}
+ {#await template then returnedTemplate} + {#if dockerStats && dockerStats.name} +