Move to local photon for dawarich in podman using https://hub.docker.com/r/rtuszik/photon-docker, e.g.,
_:
{
users.groups.photon = {
gid = 9011;
};
users.users.photon = {
isSystemUser = true;
group = "photon";
uid = 9011;
};
systemd.tmpfiles.rules = [
"d /var/lib/dawarich-photon/data 0755 photon photon -"
];
virtualisation.oci-containers.containers = {
dawarich-photon = {
image = "rtuszik/photon-docker:latest";
environment = {
UPDATE_STRATEGY = "PARALLEL";
ENABLE_METRICS = "true";
REGION = "ca"; # TODO: This should be removed once there is more storage available for geodata.
};
ports = [
"127.0.0.1:2322:2322/tcp"
];
volumes = [
"/var/lib/dawarich-photon/data:/photon/data"
];
};
};
}
Move to local photon for dawarich in podman using https://hub.docker.com/r/rtuszik/photon-docker, e.g.,