@@ -100,22 +64,34 @@
Via Docker Run
-
{dockerRunCommand}
+
{/if}
{#if dockerRunCommands}
Via Docker Run
-
{#each dockerRunCommands as command, index}
Service #{index + 1} - {portainerServices[index].name}
-
{command}
+
{/each}
-
+ {/if}
+
+ {#if dockerComposeFile}
+
+ Via Docker Compose
+
+ Save this file as docker-compose.yml and run docker-compose up -d
+
+ Use this only as a guide.
+
+
+
+
+
{/if}
@@ -178,6 +154,9 @@
margin: 0.5rem 0;
display: inline;
border-radius: 6px;
+ &.template-url {
+ white-space: normal;
+ }
}
button {
background: var(--background);
@@ -212,7 +191,7 @@
border-radius: 6px;
max-width: 50rem;
}
- .docker-run-command {
+ .docker-run-command, .docker-compose-file {
background: var(--card-2);
position: relative;
padding: 0.5rem;
@@ -225,5 +204,19 @@
top: 0.5rem;
}
}
+ .instructions {
+ margin-bottom: 0.5rem;
+ font-size: 1rem;
+ code {
+ border-radius: 6px;
+ padding: 0 0.25rem;
+ background: var(--card-2);
+ }
+ }
+ :global(.hljs) {
+ background: var(--card-2);
+ font-size: 1.1rem;
+ padding: 0;
+ }
}
\ No newline at end of file