treewide: upstreaming changes
Signed-off-by: s0me1newithhand7s <117505144+s0me1newithhand7s@users.noreply.github.com>
This commit is contained in:
parent
d159232b37
commit
e4e1b03c7e
160 changed files with 3408 additions and 5474 deletions
26
s0mev1rtn0de-nix/virtualisation/oci-containers/3x-ui.nix
Normal file
26
s0mev1rtn0de-nix/virtualisation/oci-containers/3x-ui.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{...}: {
|
||||
virtualisation = {
|
||||
oci-containers = {
|
||||
containers = {
|
||||
"3x-ui" = {
|
||||
autoStart = true;
|
||||
image = "ghcr.io/mhsanaei/3x-ui:latest";
|
||||
volumes = [
|
||||
"/docker/3x-ui/db/:/etc/x-ui/"
|
||||
"/docker/3x-ui/certs/:/root/cert/"
|
||||
];
|
||||
|
||||
environment = {
|
||||
XRAY_VMESS_AEAD_FORCED = toString false;
|
||||
XUI_ENABLE_FAIL2BAN = toString false;
|
||||
};
|
||||
|
||||
extraOptions = [
|
||||
"--network=host"
|
||||
"--tty=true"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue