change disks paths
This commit is contained in:
parent
4050b28ee3
commit
e187cecb79
12 changed files with 24 additions and 23 deletions
|
|
@ -1,5 +1,6 @@
|
|||
{ homelab, lib, ... }: let
|
||||
stacks-dir = "/mnt/data/dockge/stacks";
|
||||
dockge-dir = "/mnt/data/apps/dockge";
|
||||
stacks-dir = "${dockge-dir}/stacks";
|
||||
in {
|
||||
virtualisation.oci-containers.containers."dockge" = {
|
||||
image = "louislam/dockge:nightly";
|
||||
|
|
@ -8,7 +9,7 @@ in {
|
|||
};
|
||||
volumes = [
|
||||
"${stacks-dir}:${stacks-dir}:rw"
|
||||
"/mnt/data/dockge/data:/app/data:rw"
|
||||
"${dockge-dir}/data:/app/data:rw"
|
||||
"/var/run/docker.sock:/var/run/docker.sock:rw"
|
||||
];
|
||||
ports = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue