Solidfy container startup order
This commit is contained in:
parent
1d86ad4f17
commit
a22be56439
|
@ -99,6 +99,7 @@
|
||||||
};
|
};
|
||||||
ports = [ "8181:8181" ];
|
ports = [ "8181:8181" ];
|
||||||
volumes = [ "/var/lib/tautulli:/config" ];
|
volumes = [ "/var/lib/tautulli:/config" ];
|
||||||
|
dependsOn = [ "plex" ];
|
||||||
};
|
};
|
||||||
# Configure sabnzbd
|
# Configure sabnzbd
|
||||||
"sabnzbd" = {
|
"sabnzbd" = {
|
||||||
|
@ -129,6 +130,7 @@
|
||||||
"/mnt/plex:/media"
|
"/mnt/plex:/media"
|
||||||
"/mnt/scratch/sabnzbd/download-complete:/downloads"
|
"/mnt/scratch/sabnzbd/download-complete:/downloads"
|
||||||
];
|
];
|
||||||
|
dependsOn = [ "sabnzbd" "plex" ];
|
||||||
};
|
};
|
||||||
# Configure radarr
|
# Configure radarr
|
||||||
"radarr" = {
|
"radarr" = {
|
||||||
|
@ -144,6 +146,12 @@
|
||||||
"/mnt/plex:/media"
|
"/mnt/plex:/media"
|
||||||
"/mnt/scratch/sabnzbd/download-complete:/downloads"
|
"/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