migrate vaultwarden to bitwarden unified

This commit is contained in:
♥ Minnie ♥ 2023-06-01 13:39:06 +08:00
parent 868e9cf825
commit 2a56863919
4 changed files with 18 additions and 17 deletions

1
.gitignore vendored
View file

@ -1,2 +1,3 @@
result
**/dist-newstyle
**/settings.env

View 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
];
};
}

View file

@ -20,7 +20,7 @@
# Documents & Files
./qbittorrent
./vaultwarden
./bitwarden
# Game servers
./minecraft

View file

@ -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";
};
};
}