Solidfy container startup order
This commit is contained in:
parent
1d86ad4f17
commit
a22be56439
|
@ -99,6 +99,7 @@
|
|||
};
|
||||
ports = [ "8181:8181" ];
|
||||
volumes = [ "/var/lib/tautulli:/config" ];
|
||||
dependsOn = [ "plex" ];
|
||||
};
|
||||
# Configure sabnzbd
|
||||
"sabnzbd" = {
|
||||
|
@ -129,6 +130,7 @@
|
|||
"/mnt/plex:/media"
|
||||
"/mnt/scratch/sabnzbd/download-complete:/downloads"
|
||||
];
|
||||
dependsOn = [ "sabnzbd" "plex" ];
|
||||
};
|
||||
# Configure radarr
|
||||
"radarr" = {
|
||||
|
@ -144,6 +146,12 @@
|
|||
"/mnt/plex:/media"
|
||||
"/mnt/scratch/sabnzbd/download-complete:/downloads"
|
||||
];
|
||||
dependsOn = [ "sabnzbd" "plex" ];
|
||||
};
|
||||
};
|
||||
# Make the containers depend on their mounts
|
||||
systemd.services = {
|
||||
"podman-plex" = { requires = [ "mnt-plex.mount" ]; };
|
||||
"podman-sabnzbd" = { requires = [ "mnt-scratch.mount" ]; };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue