snowflake/modules/services/foundryvtt.nix

21 lines
472 B
Nix
Raw Normal View History

{...}: {
sops.secrets.foundry-username = {};
sops.secrets.foundry-password = {};
virtualisation.oci-containers.containers.foundryvtt = {
image = "felddy/foundryvtt:release";
volumes = [
"/home/notoh/docker/foundryvtt:/data"
];
2023-05-16 00:41:42 -04:00
environment = {
CONTAINER_PRESERVE_CONFIG = "true";
};
2023-05-14 05:56:42 -04:00
environmentFiles = [
/run/secrets/foundry-username
/run/secrets/foundry-password
];
ports = [
"30000:30000"
];
};
}