32 lines
773 B
Nix
32 lines
773 B
Nix
|
{
|
||
|
virtualisation.arion = {
|
||
|
backend = "podman-socket";
|
||
|
projects.semitamaps-tileserver = {
|
||
|
settings = {
|
||
|
services.tileserver-gl.service = {
|
||
|
ports = [
|
||
|
"8080:8080"
|
||
|
];
|
||
|
container_name = "tileserver-gl";
|
||
|
image = "maptiler/tileserver-gl";
|
||
|
restart = "always";
|
||
|
volumes = [
|
||
|
"/data/semitamaps-data/tileserver-gl/data:/data"
|
||
|
];
|
||
|
command = "-c /data/config.json --public_url https://tiles.semitamaps.com/";
|
||
|
};
|
||
|
|
||
|
services.mbgl-renderer.service = {
|
||
|
ports = [
|
||
|
"8081:80"
|
||
|
];
|
||
|
container_name = "mbgl-renderer";
|
||
|
image = "mbgl-renderer";
|
||
|
restart = "always";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|
||
|
|