mirror of
https://github.com/swissmakers/fail2ban-ui.git
synced 2026-04-17 05:53:15 +02:00
implemented bind address environment variable.
This commit is contained in:
@@ -32,7 +32,13 @@ services:
|
||||
privileged: true # needed because the fail2ban-ui container needs to modify the fail2ban config owned by root inside the linuxserver-fail2ban container
|
||||
network_mode: host
|
||||
environment:
|
||||
# Optional: Change this to use a different port for the web interface (defaults is 8080)
|
||||
- PORT=3080
|
||||
# Optional: Bind to a specific IP address (default: 0.0.0.0)
|
||||
# This is useful when running with host networking to prevent exposing
|
||||
# the web UI to unprotected networks. Set to a specific IP (e.g., 127.0.0.1
|
||||
# or a specific interface IP) to restrict access.
|
||||
# - BIND_ADDRESS=127.0.0.1
|
||||
volumes:
|
||||
# Required for fail2ban-ui: Stores SQLite database, application settings, and SSH keys of the fail2ban-ui container
|
||||
- ./config:/config:Z
|
||||
|
||||
Reference in New Issue
Block a user