snowflake/hosts/sakura/services/foundryvtt.nix

21 lines
468 B
Nix
Raw Normal View History

2023-06-11 02:08:06 -04:00
_: {
2023-05-28 22:00:50 -04:00
sops.secrets.foundry-username = {};
sops.secrets.foundry-password = {};
virtualisation.oci-containers.containers.foundryvtt = {
image = "felddy/foundryvtt:release";
volumes = [
"/home/notoh/docker/foundryvtt:/data"
];
environment = {
CONTAINER_PRESERVE_CONFIG = "true";
};
environmentFiles = [
/run/secrets/foundry-username
/run/secrets/foundry-password
];
ports = [
"30000:30000"
];
};
}