wip vault on oracle
This commit is contained in:
parent
6d9f7679f0
commit
4bab9c4f86
1 changed files with 31 additions and 0 deletions
31
hosts/oracle/o001/vaultwarden.nix
Normal file
31
hosts/oracle/o001/vaultwarden.nix
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
containers.vaultwarden = {
|
||||
ephemeral = true;
|
||||
autoStart = true;
|
||||
privateNetwork = true;
|
||||
hostAddress = "192.168.100.2";
|
||||
localAddress = "192.168.100.12";
|
||||
bindMounts = {
|
||||
"/incontainer" = {
|
||||
hostPath = "/asd";
|
||||
isReadOnly = false;
|
||||
};
|
||||
};
|
||||
config =
|
||||
{ ... }:
|
||||
{
|
||||
services.vaultwarden = {
|
||||
enable = true;
|
||||
dbBackend = "sqlite";
|
||||
backupDir = "/asd";
|
||||
config = {
|
||||
DOMAIN = "https://vault.joshuabell.xyz";
|
||||
SIGNUPS_ALLOWED = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue