Switch remaining services from nomad host volumes to docker volumes.
This commit is contained in:
@@ -9,6 +9,7 @@ in
|
||||
enable = true;
|
||||
package = pkgs.unstable.nomad;
|
||||
# true breaks at least CSI volumes
|
||||
# TODO: consider fixing
|
||||
dropPrivileges = false;
|
||||
|
||||
settings = {
|
||||
@@ -21,11 +22,6 @@ in
|
||||
interface = "tailscale0";
|
||||
cidr = "100.64.0.0/10";
|
||||
};
|
||||
host_volume = {
|
||||
sites.path = "/data/compute/sites";
|
||||
config.path = "/data/compute/config";
|
||||
appdata-grafana.path = "/data/compute/appdata/grafana";
|
||||
};
|
||||
};
|
||||
|
||||
server = {
|
||||
@@ -44,6 +40,7 @@ in
|
||||
plugin.docker.config = {
|
||||
allow_privileged = true;
|
||||
# for keepalived, though only really needing "NET_ADMIN","NET_BROADCAST","NET_RAW" on top of default
|
||||
# TODO: trim this down
|
||||
allow_caps = ["all"];
|
||||
volumes.enabled = true;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user