snowflake/hosts/sora/services/foundryvtt.nix

17 lines
514 B
Nix
Raw Normal View History

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