summaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.nspawn')
-rw-r--r--mkosi.nspawn16
1 files changed, 16 insertions, 0 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
new file mode 100644
index 0000000..9d73174
--- /dev/null
+++ b/mkosi.nspawn
@@ -0,0 +1,16 @@
+[Exec]
+Hostname=kanboard
+ResolvConf=copy-host
+Timezone=copy
+PrivateUsers=pick
+NoNewPrivileges=yes
+
+[Files]
+PrivateUsersChown=yes
+Bind=/var/local/kanboard/data:/var/www/kanboard/data
+Bind=/var/local/kanboard/plugins:/var/www/kanboard/plugins
+BindReadOnly=/etc/kanboard/config.php:/var/www/kanboard/config.php
+
+[Network]
+VirtualEthernet=no
+