nixos-configs/devices/servivi/modules/arion/music/jbots/compose.nix
matt1432 692b59c970
All checks were successful
Discord / discord commits (push) Has been skipped
feat(docker): add jmusicbot
2024-01-14 02:33:12 -05:00

29 lines
626 B
Nix

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