migrate vaultwarden to bitwarden unified
This commit is contained in:
parent
868e9cf825
commit
2a56863919
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
result
|
||||
**/dist-newstyle
|
||||
**/settings.env
|
||||
|
|
16
nixos/lavender/containers/bitwarden/default.nix
Normal file
16
nixos/lavender/containers/bitwarden/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Bitwarden
|
||||
virtualisation.oci-containers.containers."bitwarden" = {
|
||||
autoStart = true;
|
||||
image = "bitwarden/self-host:beta";
|
||||
volumes = [
|
||||
"/srv/containers/bitwarden:/etc/bitwarden"
|
||||
];
|
||||
ports = [ "8484:8080" ];
|
||||
environmentFiles = [
|
||||
./settings.env
|
||||
];
|
||||
};
|
||||
}
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
# Documents & Files
|
||||
./qbittorrent
|
||||
./vaultwarden
|
||||
./bitwarden
|
||||
|
||||
# Game servers
|
||||
./minecraft
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Vaultwarden
|
||||
virtualisation.oci-containers.containers."vaultwarden" = {
|
||||
autoStart = true;
|
||||
image = "vaultwarden/server:latest";
|
||||
volumes = [
|
||||
"/srv/containers/vaultwarden:/data"
|
||||
];
|
||||
ports = [ "8484:80" ];
|
||||
environment = {
|
||||
DOMAIN = "https://vault.kanto.dev";
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue