20 lines
469 B
Nix
20 lines
469 B
Nix
_: {
|
|
sops.secrets.foundry-username = {};
|
|
sops.secrets.foundry-password = {};
|
|
virtualisation.oci-containers.containers.foundryvtt = {
|
|
image = "felddy/foundryvtt:11.300.0";
|
|
volumes = [
|
|
"/home/notoh/docker/foundryvtt:/data"
|
|
];
|
|
environment = {
|
|
CONTAINER_PRESERVE_CONFIG = "true";
|
|
};
|
|
environmentFiles = [
|
|
/run/secrets/foundry-username
|
|
/run/secrets/foundry-password
|
|
];
|
|
ports = [
|
|
"30000:30000"
|
|
];
|
|
};
|
|
}
|