13 lines
365 B
Nix
13 lines
365 B
Nix
{ ... }:
|
|
{
|
|
virtualisation.oci-containers.containers.portainer-agent = {
|
|
image = "portainer/agent:latest"; # Use the latest Portainer agent image
|
|
ports = [
|
|
"9001:9001" # Expose the Portainer agent API port
|
|
];
|
|
volumes = [
|
|
"/etc/zoneinfo/America/Chicago:/etc/localtime:ro"
|
|
"/var/run/docker.sock:/var/run/docker.sock"
|
|
];
|
|
};
|
|
} |