feat(docker): add jmusicbot
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
42f9c571f4
commit
692b59c970
2 changed files with 37 additions and 0 deletions
29
devices/servivi/modules/arion/music/jbots/compose.nix
Normal file
29
devices/servivi/modules/arion/music/jbots/compose.nix
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
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"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -0,0 +1,8 @@
|
||||||
|
pkgs:
|
||||||
|
pkgs.dockerTools.pullImage {
|
||||||
|
imageName = "alexandreteles/jmusicbot";
|
||||||
|
imageDigest = "sha256:2e5e7cdc52e0bb6a4c1e88a5098e3e934780bea42c40b1a4e62e2d3657d398a8";
|
||||||
|
sha256 = "0yxchfys9621xyyadpv094w6mr99nbb6rfpj3kvys3lcqfwv0m6b";
|
||||||
|
finalImageName = "alexandreteles/jmusicbot";
|
||||||
|
finalImageTag = "latest";
|
||||||
|
}
|
Loading…
Reference in a new issue