19 lines
359 B
Nix
19 lines
359 B
Nix
{ serverIP, serverIP6 } : {
|
|
image = "vaultwarden/server:1.32.6";
|
|
ports = [
|
|
"8022:80"
|
|
];
|
|
environment = {
|
|
TZ = "America/New_York";
|
|
};
|
|
volumes = [
|
|
"/serverdata/vaultwarden:/data"
|
|
];
|
|
extraOptions = [
|
|
#"--cap-add=NET_ADMIN"
|
|
#"--network=host"
|
|
#"--no-hosts" # do not populate internal /etc/hosts with container host's
|
|
];
|
|
}
|
|
|