VEGAS: add Vault

This commit is contained in:
Max Headroom 2021-11-26 21:49:21 +01:00
parent 08ea787b0b
commit f18cf36176
2 changed files with 13 additions and 0 deletions

View file

@ -0,0 +1,12 @@
{ config, pkgs, tools, ... }:
{
services.vault = {
enable = true;
storageBackend = "file";
storagePath = "/srv/storage/private/vault";
extraConfig = "ui = true";
package = pkgs.vault-bin;
};
services.nginx.virtualHosts."vault.${tools.meta.domain}" = tools.nginx.vhosts.proxy "http://${config.services.vault.address}";
}

View file

@ -37,6 +37,7 @@
./services/object-storage
./services/openvpn
./services/sso
./services/vault
./services/warehouse
./services/websites
]