2022-10-19 18:12:36 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
let
|
2022-10-19 19:07:02 +00:00
|
|
|
host = "search.atlanticaweb.fr";
|
2022-10-19 18:12:36 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
virtualisation = {
|
|
|
|
podman = {
|
|
|
|
enable = true;
|
|
|
|
dockerCompat = true;
|
|
|
|
};
|
2022-10-19 19:07:02 +00:00
|
|
|
oci-containers = {
|
2022-10-19 18:12:36 +00:00
|
|
|
backend = "podman";
|
|
|
|
containers.whoogle-search = {
|
|
|
|
image = "benbusby/whoogle-search";
|
|
|
|
autoStart = true;
|
2022-10-19 19:07:02 +00:00
|
|
|
ports = [ "5001:5000" ]; #server locahost : docker localhost
|
2022-10-19 18:12:36 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|