Add heidi discord bot service
This commit is contained in:
@ -28,6 +28,9 @@
|
||||
./services/whats-up-docker.nix
|
||||
./services/wireguard-vps.nix
|
||||
|
||||
# Discord
|
||||
./services/heidi.nix
|
||||
|
||||
# MultimediArr
|
||||
./services/bazarr.nix
|
||||
./services/fileflows.nix
|
||||
|
25
ServeNix/services/heidi.nix
Normal file
25
ServeNix/services/heidi.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
virtualisation.oci-containers.containers.heidi = {
|
||||
image = "gitea.vps.chriphost.de/christoph/discord-heidi:latest";
|
||||
autoStart = true;
|
||||
|
||||
dependsOn = [];
|
||||
|
||||
ports = [];
|
||||
|
||||
volumes = [];
|
||||
|
||||
environment = {
|
||||
DISCORD_TOKEN = (builtins.readFile ./heidi.discord_token);
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
"--net=behind-nginx"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user