summaryrefslogtreecommitdiff
path: root/templates/hugo_kitchen-compose.yml.j2
diff options
context:
space:
mode:
authorMark Powers <mark@marks.kitchen>2024-07-20 16:20:13 -0500
committerMark Powers <mark@marks.kitchen>2024-07-20 16:20:13 -0500
commitabe2aeceab858d6ad3a838ffe2970a0e9e2a4606 (patch)
tree83a9da03fbf01cbc0faf87f45b4ddd6e7344faf6 /templates/hugo_kitchen-compose.yml.j2
Initial commitmain
Diffstat (limited to 'templates/hugo_kitchen-compose.yml.j2')
-rw-r--r--templates/hugo_kitchen-compose.yml.j213
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/hugo_kitchen-compose.yml.j2 b/templates/hugo_kitchen-compose.yml.j2
new file mode 100644
index 0000000..622abf3
--- /dev/null
+++ b/templates/hugo_kitchen-compose.yml.j2
@@ -0,0 +1,13 @@
+services:
+ kitchen_nginx:
+ container_name: kitchen_nginx
+ image: nginx
+ restart: always
+ volumes:
+ - "./markskitchen_hugo.git/public:/usr/share/nginx/html"
+ labels:
+ - traefik.enable=true
+ - traefik.http.routers.kitchen.rule=Host(`{{host}}`)
+ - traefik.http.routers.kitchen.tls=true
+ - traefik.http.routers.kitchen.tls.certresolver=letsencrypt
+ - traefik.http.routers.kitchen.entrypoints=websecure