File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh
22
33# Start fail2ban
4- [ $X_UI_ENABLE_FAIL2BAN == " true" ] && fail2ban-client -x start
4+ [ $XUI_ENABLE_FAIL2BAN == " true" ] && fail2ban-client -x start
55
66# Run x-ui
77exec /app/x-ui
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ RUN chmod +x \
4848 /app/x-ui \
4949 /usr/bin/x-ui
5050
51- ENV X_UI_ENABLE_FAIL2BAN ="true"
51+ ENV XUI_ENABLE_FAIL2BAN ="true"
5252VOLUME [ "/etc/x-ui" ]
5353CMD [ "./x-ui" ]
5454ENTRYPOINT [ "/app/DockerEntrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ services:
88 - $PWD/cert/:/root/cert/
99 environment :
1010 XRAY_VMESS_AEAD_FORCED : " false"
11- X_UI_ENABLE_FAIL2BAN : " true"
11+ XUI_ENABLE_FAIL2BAN : " true"
1212 tty : true
1313 network_mode : host
1414 restart : unless-stopped
You can’t perform that action at this time.
0 commit comments