nixos-configs/devices/servivi/modules/arion/music/jbots/compose.nix
matt1432 2c095bfbc5
All checks were successful
Discord / discord commits (push) Has been skipped
fix(docker): get correct path for volume data
2024-01-14 16:09:55 -05:00

29 lines
606 B
Nix

{
rwPath,
importImage,
...
}: {
services = {
"musicbot_be" = {
container_name = "benis";
hostImage = importImage ./images/jmusicbot.nix;
restart = "always";
volumes = [
"${rwPath}/be/config.txt:/app/config.txt:ro"
"${rwPath}/be/playlists:/app/playlists:rw"
];
};
"musicbot_br" = {
container_name = "bruh";
hostImage = importImage ./images/jmusicbot.nix;
restart = "always";
volumes = [
"${rwPath}/br/config.txt:/app/config.txt:ro"
"${rwPath}/br/playlists:/app/playlists:rw"
];
};
};
}