snowflake/hosts/sora/services/foundryvtt.nix
2024-01-25 05:10:41 -05:00

20 lines
472 B
Nix

_: {
sops.secrets.foundry-username = {};
sops.secrets.foundry-password = {};
virtualisation.oci-containers.containers.foundryvtt = {
image = "felddy/foundryvtt:sha-50af627";
volumes = [
"/home/notoh/docker/foundryvtt:/data"
];
environment = {
CONTAINER_PRESERVE_CONFIG = "true";
};
environmentFiles = [
/run/secrets/foundry-username
/run/secrets/foundry-password
];
ports = [
"30000:30000"
];
};
}