Skip to content

Commit 0703f8c

Browse files
authored
Update index.html
1 parent b61fd2a commit 0703f8c

1 file changed

Lines changed: 48 additions & 0 deletions

File tree

index.html

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,55 @@ <h3>📦 Grab the configs</h3>
513513
</details>
514514
</div>
515515
</li>
516+
<li class="file-block">
517+
<div class="file-header">
518+
<a href="assets/nginx-chart.tgz" download>⬇ Download Helm Chart</a>
519+
<details open>
520+
<summary>Show Code</summary>
521+
<div class="code-container">
522+
<button class="copy-btn" data-target="file-1">Copy</button>
523+
<pre><code id="file-1" class="language-yaml">apiVersion: v2
524+
name: nginx-chart
525+
description: A Helm chart for Kubernetes
526+
version: 0.1.0
527+
appVersion: "1.20"</code></pre>
528+
</div>
529+
</details>
530+
</div>
531+
</li>
532+
<!-- Docker Compose -->
533+
<li class="file-block">
534+
<div class="file-header">
535+
<a href="assets/docker-compose.yml" download>⬇ Download Docker Compose</a>
536+
<details>
537+
<summary>Show Code</summary>
538+
<div class="code-container">
539+
<button class="copy-btn" data-target="file-2">Copy</button>
540+
<pre><code id="file-2" class="language-yaml">version: '3.8'
516541

542+
services:
543+
web:
544+
image: nginx:latest
545+
ports:
546+
- "80:80"
547+
volumes:
548+
- ./html:/usr/share/nginx/html
549+
depends_on:
550+
- redis
551+
552+
redis:
553+
image: redis:latest
554+
ports:
555+
- "6379:6379"
556+
volumes:
557+
- redis_data:/data
558+
559+
volumes:
560+
redis_data:</code></pre>
561+
</div>
562+
</details>
563+
</div>
564+
</li>
517565
<!-- constraint-template.yaml -->
518566
<li class="file-block">
519567
<div class="file-header">

0 commit comments

Comments
 (0)