feat(virtualisation): enable gvisor for containers
This commit is contained in:
parent
4eab62fe3b
commit
5da5d66d6a
4 changed files with 12 additions and 1 deletions
|
@ -18,6 +18,8 @@ in {
|
|||
extra_params = "--o:ssl.enable=false --o:ssl.termination=true";
|
||||
};
|
||||
extraOptions = [
|
||||
"--runtime-flag=directfs=false"
|
||||
"--runtime-flag=network=host"
|
||||
"--uidmap=0:65534:1"
|
||||
"--gidmap=0:65534:1"
|
||||
"--uidmap=100:${toString uid}:1"
|
||||
|
|
|
@ -59,6 +59,8 @@ in {
|
|||
# only secrets need to be included, e.g. FOCALBOARD_DBCONFIG
|
||||
environmentFiles = [ config.age.secrets.focalboard-env.path ];
|
||||
extraOptions = [
|
||||
"--runtime-flag=directfs=false"
|
||||
"--runtime-flag=network=host"
|
||||
"--uidmap=0:65534:1"
|
||||
"--gidmap=0:65534:1"
|
||||
"--uidmap=65534:${toString uid}:1"
|
||||
|
|
|
@ -37,6 +37,8 @@ let
|
|||
config.age.secrets.immich-typesense-env.path
|
||||
];
|
||||
extraOptions = [
|
||||
"--runtime-flag=directfs=false"
|
||||
"--runtime-flag=network=host"
|
||||
"--uidmap=0:65534:1"
|
||||
"--gidmap=0:65534:1"
|
||||
"--uidmap=${toString uid}:${toString uid}:1"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue