summaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-10-19 10:39:17 +0200
committerDennis Eriksen <d@ennis.no>2019-10-19 10:39:17 +0200
commita95f7ea28b1d4fc5195d3b59892c5cba63b92556 (patch)
tree897b726583204a0a5f73a72e01f37974b3bd9231 /mkosi.nspawn
downloadmkosi-kanboard-a95f7ea28b1d4fc5195d3b59892c5cba63b92556.tar.gz
initial commit
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
+