2023-05-14 23:03:38 -04:00
|
|
|
{...}: {
|
|
|
|
sops.secrets.foundry-username = {};
|
|
|
|
sops.secrets.foundry-password = {};
|
2023-05-14 00:50:11 -04:00
|
|
|
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
|
|
|
|
];
|
2023-05-15 03:49:48 -04:00
|
|
|
ports = [
|
|
|
|
"30000:30000"
|
|
|
|
];
|
2023-05-14 00:50:11 -04:00
|
|
|
};
|
|
|
|
}
|