summaryrefslogtreecommitdiff
path: root/templates/hugo_kitchen-compose.yml.j2
diff options
context:
space:
mode:
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