nix-configurations/hosts/lkk-nix-1/services/containers/nextcloud.nix

15 lines
455 B
Nix
Raw Normal View History

2023-02-10 21:36:25 +00:00
{ config, outputs, ... }: {
virtualisation.oci-containers.containers."nextcloud" = {
image = "docker.io/nextcloud";
environment = {
TRUSTED_PROXIES = "10.88.0.1/16";
OVERWRITEPROTOCOL = "https";
OVERWRITECLIURL = "https://cloud.lanakk.com";
OVERWRITEHOST = "cloud.lanakk.com";
};
ports = [ "3005:80" ];
volumes = [ "nextcloud_data:/var/www/html" ];
extraOptions = [ "--add-host=mysql:10.88.0.1" ];
};
}