Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-05-22 09:21:23 +0300
committerGitHub <noreply@github.com>2025-05-22 09:21:23 +0300
commit5dae785786f331b80d35dee12f24677b1e2fb16c (patch)
tree3cb33809074a754667e40a31513dbdbd426724cc
parent1b1cbfff422e6de58a6f524336b19ec809eb45f0 (diff)
chore: `X_UI_ENABLE_FAIL2BAN` -> `XUI_ENABLE_FAIL2BAN` (#3030)
-rw-r--r--DockerEntrypoint.sh2
-rw-r--r--Dockerfile2
-rw-r--r--docker-compose.yml2
3 files changed, 3 insertions, 3 deletions
diff --git a/DockerEntrypoint.sh b/DockerEntrypoint.sh
index dfd85ba7..7511d2ea 100644
--- a/DockerEntrypoint.sh
+++ b/DockerEntrypoint.sh
@@ -1,7 +1,7 @@
#!/bin/sh
# Start fail2ban
-[ $X_UI_ENABLE_FAIL2BAN == "true" ] && fail2ban-client -x start
+[ $XUI_ENABLE_FAIL2BAN == "true" ] && fail2ban-client -x start
# Run x-ui
exec /app/x-ui
diff --git a/Dockerfile b/Dockerfile
index 62bb908c..4a15f98d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -48,7 +48,7 @@ RUN chmod +x \
/app/x-ui \
/usr/bin/x-ui
-ENV X_UI_ENABLE_FAIL2BAN="true"
+ENV XUI_ENABLE_FAIL2BAN="true"
VOLUME [ "/etc/x-ui" ]
CMD [ "./x-ui" ]
ENTRYPOINT [ "/app/DockerEntrypoint.sh" ]
diff --git a/docker-compose.yml b/docker-compose.yml
index 50cad52c..e27a735e 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -8,7 +8,7 @@ services:
- $PWD/cert/:/root/cert/
environment:
XRAY_VMESS_AEAD_FORCED: "false"
- X_UI_ENABLE_FAIL2BAN: "true"
+ XUI_ENABLE_FAIL2BAN: "true"
tty: true
network_mode: host
restart: unless-stopped