Skip to content

Latest commit

 

History

History
29 lines (16 loc) · 1.5 KB

config.md

File metadata and controls

29 lines (16 loc) · 1.5 KB

Configuration Settings

Each setting can be set as an environment variable in docker-compose.yml. Below is all the environment variables and their default settings.

  • PWNBOARD_URL No default - Used to set the url for the code in /install/<tool>. Usually looks something like this http://pwn.board.com:8080 or http://pwnboard.hack

  • BOARD Default: "./board.json" - The location of the board configuration file. This really has no use case

  • PWN_THEME Default: "blue" - The theme of the pwnboard, blue is Red for active hosts and Blue for dead hosts. green is Green for active hosts and Red for dead hosts.

  • REDIS_HOST Default: "localhost" - The location of the redis server

  • REDIS_PORT Default: "6379" - The location of the redis server

  • FLASK_HOST Default: "0.0.0.0" - Which interface Flask should bind to

  • FLASK_PORT Default: "80" - Which port Flask should bind to

  • FLASK_DEBUG Default: "false" - Whether or not flask should be in debug mode

  • CACHE_TIME Default: "-1" - How many seconds to cache the web page for. Default is do not cache at all. This may be needed if you have many people watching the board at once.

  • HOST_TIMEOUT Default: 2 - Number of minutes of inactivity before a host expires

  • ALERT_TIMEOUT Default: 2 - Number of minutes to show an alert for. Note: This feature might actually be broken...

  • SYSLOG_HOST No default - If HOST and PORT are set for SYSLOG, send syslog data to the server on every callback

  • SYSLOG_PORT No default