Skip to content

Commit 82e1bd2

Browse files
author
Exploding Labs Bot
committed
Update site from docs source repo
1 parent eff08d7 commit 82e1bd2

File tree

2 files changed

+45
-12
lines changed

2 files changed

+45
-12
lines changed

superstack/deploying/index.html

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -450,12 +450,27 @@
450450
</span>
451451
</a>
452452

453+
<nav class="md-nav" aria-label="📦 3. Deploy the Compose File">
454+
<ul class="md-nav__list">
455+
456+
<li class="md-nav__item">
457+
<a href="#4-secrets" class="md-nav__link">
458+
<span class="md-ellipsis">
459+
4. Secrets
460+
</span>
461+
</a>
462+
463+
</li>
464+
465+
</ul>
466+
</nav>
467+
453468
</li>
454469

455470
<li class="md-nav__item">
456-
<a href="#4-launch-your-stack" class="md-nav__link">
471+
<a href="#5-launch-your-stack" class="md-nav__link">
457472
<span class="md-ellipsis">
458-
🚀 4. Launch your Stack
473+
🚀 5. Launch your Stack
459474
</span>
460475
</a>
461476

@@ -564,12 +579,27 @@
564579
</span>
565580
</a>
566581

582+
<nav class="md-nav" aria-label="📦 3. Deploy the Compose File">
583+
<ul class="md-nav__list">
584+
585+
<li class="md-nav__item">
586+
<a href="#4-secrets" class="md-nav__link">
587+
<span class="md-ellipsis">
588+
4. Secrets
589+
</span>
590+
</a>
591+
592+
</li>
593+
594+
</ul>
595+
</nav>
596+
567597
</li>
568598

569599
<li class="md-nav__item">
570-
<a href="#4-launch-your-stack" class="md-nav__link">
600+
<a href="#5-launch-your-stack" class="md-nav__link">
571601
<span class="md-ellipsis">
572-
🚀 4. Launch your Stack
602+
🚀 5. Launch your Stack
573603
</span>
574604
</a>
575605

@@ -622,17 +652,20 @@ <h2 id="3-deploy-the-compose-file">📦 3. Deploy the Compose File</h2>
622652
<p>Copy <code>compose.yaml</code> to the server:</p>
623653
<div class="highlight"><pre><span></span><code>scp<span class="w"> </span>compose.yaml<span class="w"> </span>youruser@yourserver:
624654
</code></pre></div>
625-
<h2 id="4-launch-your-stack">🚀 4. Launch your Stack</h2>
655+
<h3 id="4-secrets">4. Secrets</h3>
656+
<p>Docker needs your secrets (passwords, keys, etc.). There are a few options:</p>
657+
<ol>
658+
<li>Write secrets to a <code>.env</code> file on the server (convenient but not very
659+
secure).</li>
660+
<li>Set env vars in the the <code>docker compose</code> command (be sure to disable shell
661+
history).</li>
662+
<li>Use environment injection in your CI/CD.</li>
663+
</ol>
664+
<h2 id="5-launch-your-stack">🚀 5. Launch your Stack</h2>
626665
<p>SSH into your server and bring up the stack:</p>
627666
<div class="highlight"><pre><span></span><code>docker<span class="w"> </span>compose<span class="w"> </span>pull
628667
docker<span class="w"> </span>compose<span class="w"> </span>up<span class="w"> </span>-d
629668
</code></pre></div>
630-
<p>Docker compose needs secrets, so you have a few options:</p>
631-
<ol>
632-
<li>Write secrets to a <code>.env</code> file in plain-text (be sure to <code>chmod 600 .env</code>).</li>
633-
<li>Set env vars in the docker compose command</li>
634-
<li>Alternatively, use environment injection in your CI/CD.</li>
635-
</ol>
636669
<hr />
637670
<p>That’s it — your backend is live.</p>
638671
<p>If this is the first time bringing up your stack, the migrations will run

0 commit comments

Comments
 (0)