Added hetzner server configs
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.vaultwarden = {
|
||||
image = "vaultwarden/server:latest";
|
||||
autoStart = true;
|
||||
ports = ["1001:80"];
|
||||
volumes = [
|
||||
"/home/admin/vw-data:/data:Z"
|
||||
];
|
||||
environment = {
|
||||
DOMAIN = "https://vault.severijnse.eu";
|
||||
LOG_FILE = "/data/vaultwarden.log";
|
||||
};
|
||||
extraOptions = [
|
||||
"--label=com.centurylinklabs.watchtower.enable=true"
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user