Compare commits
3 Commits
e8100dafea
...
261bfe95c9
| Author | SHA1 | Date | |
|---|---|---|---|
| 261bfe95c9 | |||
| 9c568262ca | |||
| 370268b9e6 |
@ -61,13 +61,13 @@
|
|||||||
"nginx_snippets:/data/nginx_snippets:ro"
|
"nginx_snippets:/data/nginx_snippets:ro"
|
||||||
"paperless-postgres_data:/data/paperless-postgres_data:ro"
|
"paperless-postgres_data:/data/paperless-postgres_data:ro"
|
||||||
"paperless_data:/data/paperless_data:ro"
|
"paperless_data:/data/paperless_data:ro"
|
||||||
"portainer_config:/data/portainer_config:ro"
|
# "portainer_config:/data/portainer_config:ro"
|
||||||
# "prowlarr_config:/data/prowlarr_config:ro" # Disabled
|
# "prowlarr_config:/data/prowlarr_config:ro" # Disabled
|
||||||
# "radarr_config:/data/radarr_config:ro" # Disabled
|
# "radarr_config:/data/radarr_config:ro" # Disabled
|
||||||
# "sabnzbd_config:/data/sabnzbd_config:ro" # Disabled
|
# "sabnzbd_config:/data/sabnzbd_config:ro" # Disabled
|
||||||
# "sonarr_config:/data/sonarr_config:ro" # Disabled
|
# "sonarr_config:/data/sonarr_config:ro" # Disabled
|
||||||
# "uptime-kuma_config:/data/uptime-kuma_config:ro" # Disabled
|
# "uptime-kuma_config:/data/uptime-kuma_config:ro" # Disabled
|
||||||
"wireguard_vps_config:/data/wireguard_vps_config:ro"
|
# "wireguard_vps_config:/data/wireguard_vps_config:ro"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
|
|||||||
@ -4,27 +4,50 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
virtualisation.oci-containers.containers.portainer = {
|
# virtualisation.oci-containers.containers.portainer = {
|
||||||
image = "portainer/portainer-ce:latest";
|
# image = "portainer/portainer-ce:latest";
|
||||||
|
# autoStart = true;
|
||||||
|
|
||||||
|
# dependsOn = [];
|
||||||
|
|
||||||
|
# ports = [
|
||||||
|
# # "8000:8000"
|
||||||
|
# # "9443:9443"
|
||||||
|
# ];
|
||||||
|
|
||||||
|
# volumes = [
|
||||||
|
# "portainer_config:/data"
|
||||||
|
|
||||||
|
# "/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
# ];
|
||||||
|
|
||||||
|
# environment = {};
|
||||||
|
|
||||||
|
# extraOptions = [
|
||||||
|
# "--net=behind-nginx"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
|
||||||
|
virtualisation.oci-containers.containers.portainer-agent = {
|
||||||
|
image = "portainer/agent:latest";
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
|
|
||||||
dependsOn = [];
|
dependsOn = [];
|
||||||
|
|
||||||
ports = [
|
ports = [
|
||||||
# "8000:8000"
|
"9001:9001"
|
||||||
# "9443:9443"
|
|
||||||
];
|
];
|
||||||
|
|
||||||
volumes = [
|
volumes = [
|
||||||
"portainer_config:/data"
|
|
||||||
|
|
||||||
"/var/run/docker.sock:/var/run/docker.sock"
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
"/var/lib/docker/volumes:/var/lib/docker/volumes"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment = {};
|
environment = {};
|
||||||
|
|
||||||
extraOptions = [
|
extraOptions = [
|
||||||
"--net=behind-nginx"
|
# This container needs to be accessible from another machine inside the LAN
|
||||||
|
# "--net=behind-nginx"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -19,6 +19,7 @@
|
|||||||
# ./services/kopia.nix
|
# ./services/kopia.nix
|
||||||
./services/nginx-proxy-manager.nix
|
./services/nginx-proxy-manager.nix
|
||||||
./services/portainer.nix
|
./services/portainer.nix
|
||||||
|
./services/whats-up-docker.nix
|
||||||
./services/wireguard.nix
|
./services/wireguard.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
29
ThinkNix/services/whats-up-docker.nix
Normal file
29
ThinkNix/services/whats-up-docker.nix
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
virtualisation.oci-containers.containers.whats-up-docker = {
|
||||||
|
image = "fmartinou/whats-up-docker:latest";
|
||||||
|
autoStart = true;
|
||||||
|
|
||||||
|
dependsOn = [
|
||||||
|
# "pihole"
|
||||||
|
];
|
||||||
|
|
||||||
|
ports = [
|
||||||
|
# "3001:3000"
|
||||||
|
];
|
||||||
|
|
||||||
|
volumes = [
|
||||||
|
"/var/run/docker.sock:/var/run/docker.sock"
|
||||||
|
];
|
||||||
|
|
||||||
|
environment = {};
|
||||||
|
|
||||||
|
extraOptions = [
|
||||||
|
"--net=behind-nginx"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user