aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.nspawn
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2019-11-16 10:30:46 +0100
committerDennis Eriksen <d@ennis.no>2019-11-16 10:30:46 +0100
commitba7498ebe3f06db4881a7cc1cccecae38af2907a (patch)
treeb70198378afb924bc197e09df267ac87a5f5fb6b /mkosi.nspawn
parentbitwarden_rs now builds. Hopefully just need to configure it now. (diff)
downloadmkosi-vaultwarden-ba7498ebe3f06db4881a7cc1cccecae38af2907a.tar.gz
This container now works. I have added a README, and a service-file, and tweaked some small things
Diffstat (limited to 'mkosi.nspawn')
-rw-r--r--mkosi.nspawn4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkosi.nspawn b/mkosi.nspawn
index d5d3a36..56981b6 100644
--- a/mkosi.nspawn
+++ b/mkosi.nspawn
@@ -1,5 +1,5 @@
[Exec]
-Hostname=bitwarden
+Hostname=bitwarden_rs
ResolvConf=copy-host
Timezone=copy
NoNewPrivilege=yes
@@ -7,6 +7,8 @@ PrivateUsers=pick
[Files]
PrivateUsersChown=true
+Bind=/etc/bitwarden_rs/bitwarden_rs.env
+Bind=/var/local/bitwarden_rs/data:/var/lib/bitwarden_rs/data
[Network]
VirtualEthernet=no