initial setup
This commit is contained in:
		
							
								
								
									
										23
									
								
								root/services/sabnzbd/default.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								root/services/sabnzbd/default.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,23 @@
 | 
			
		||||
{ ... }:
 | 
			
		||||
{
 | 
			
		||||
  virtualisation.oci-containers.containers."container-sabnzbd-app" = {
 | 
			
		||||
    autoStart = true;
 | 
			
		||||
    image = "lscr.io/linuxserver/sabnzbd:latest";
 | 
			
		||||
    environment = {
 | 
			
		||||
      "TZ" = "Europe/Berlin";
 | 
			
		||||
      "PUID" = "0";
 | 
			
		||||
      "PGID" = "0";
 | 
			
		||||
    };
 | 
			
		||||
    networks = [
 | 
			
		||||
      "network-internal"
 | 
			
		||||
    ];
 | 
			
		||||
    volumes = [
 | 
			
		||||
      "volume-sabnzbd-config:/config:rw"
 | 
			
		||||
      "/data:/data:rw"
 | 
			
		||||
    ];
 | 
			
		||||
    ports = ["8080:8080"];
 | 
			
		||||
    extraOptions = [
 | 
			
		||||
      "--pull=always"
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user