mirror of
https://github.com/genebean/dots.git
synced 2026-03-28 09:57:43 -04:00
Add mountain-mesh-bot-discord
This commit is contained in:
parent
cd4d9f0a9e
commit
5bb15f3119
3 changed files with 30 additions and 8 deletions
|
|
@ -0,0 +1,25 @@
|
|||
{ config, username, ... }: let
|
||||
volume_base = "/orico/mountain-mesh-bot-discord";
|
||||
in {
|
||||
# My mountain-mesh-bot-discord container
|
||||
|
||||
virtualisation.oci-containers.containers = {
|
||||
"mtnmesh_bot_discord" = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/genebean/mountain-mesh-bot-discord:main";
|
||||
podman.user = username;
|
||||
pull = "always";
|
||||
volumes = [
|
||||
"${volume_base}/.env:/src/.env"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.restic.backups.daily.paths = [ volume_base ];
|
||||
|
||||
sops.secrets.mtnmesh_bot_dot_env = {
|
||||
owner = "${username}";
|
||||
path = "${volume_base}/.env";
|
||||
restartUnits = [ "${config.virtualisation.oci-containers.containers.mtnmesh_bot_discord.serviceName}" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue