enable host networking + docker.sock
This commit is contained in:
parent
8d4689df27
commit
2b9c3b7b4c
|
@ -8,7 +8,9 @@
|
|||
volumes = [
|
||||
"/srv/containers/homepage:/app/config"
|
||||
"/srv/data:/srv/data:ro"
|
||||
"/var/run/docker.sock:/var/run/docker.sock" # pass local proxy
|
||||
];
|
||||
ports = [ "3000:3000" ];
|
||||
extraOptions = ["--network=host"];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -10,5 +10,6 @@
|
|||
"/srv/data/media:/data/media:ro"
|
||||
];
|
||||
ports = [ "32400:32400" ];
|
||||
extraOptions = ["--network=host"];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -20,5 +20,6 @@
|
|||
CF_API_EMAIL_FILE = "/secrets/cf-api-email";
|
||||
CF_API_KEY_FILE = "/secrets/cf-api-key";
|
||||
};
|
||||
extraOptions = ["--network=host"];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue