about summary refs log tree commit diff
path: root/bundles/lhost/items.py
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-09-07 17:32:13 +0200
committerRobert Günzler <r@gnzler.io>2025-09-07 17:42:42 +0200
commit38be6c13f76e893cf47636257071b440dec0c5b2 (patch)
treef7ded3235a7e3362cbd1ed3d91523968fe0faf90 /bundles/lhost/items.py
initial commit
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/lhost/items.py')
-rw-r--r--bundles/lhost/items.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/bundles/lhost/items.py b/bundles/lhost/items.py
new file mode 100644
index 0000000..ac2e428
--- /dev/null
+++ b/bundles/lhost/items.py
@@ -0,0 +1,24 @@
+directories = {
+    "/var/www/lhost": {
+        "mode": "0775",
+        "group": "www-data",
+        "owner": "webdeploy",
+    },
+}
+
+files = {
+    "/var/www/lhost/Caddyfile": {},
+    "/etc/traefik/lhost.yaml": {
+        "content_type": "mako",
+        "source": "traefik.yaml",
+        "needs": {
+            "bundle:traefik",
+        },
+    },
+    "/etc/s6-rc/lhost.conf": {
+        "content_type": "mako",
+    },
+    "/etc/periodic/weekly/lhost-prune": {
+        "mode": "0755",
+    },
+}