webhookd.env 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. ###
  2. # Webhookd configuration
  3. ###
  4. # HTTP listen address, default is ":8080"
  5. # Example: `localhost:8080` or `:8080` for all interfaces
  6. #WHD_LISTEN_ADDR=":8080"
  7. # Log level (debug, info, warn or error), default is "info"
  8. #WHD_LOG_LEVEL=info
  9. # Log format (text or json), default is "text"
  10. #WHD_LOG_FORMAT=text
  11. # Logging modules to activate (http, hook)
  12. # - `http`: HTTP access logs
  13. # - `hook`: Hook execution logs
  14. # Example: `http` or `http,hook`
  15. #WHD_LOG_MODULES=
  16. # Default extension for hook scripts, default is "sh"
  17. #WHD_HOOK_DEFAULT_EXT=sh
  18. # Default hook HTTP response mode (chunked or buffered), default is "chunked"
  19. #WHD_HOOK_DEFAULT_MODE=chunked
  20. # Maximum hook execution time in second, default is 10
  21. #WHD_HOOK_TIMEOUT=10
  22. # Scripts location, default is "scripts"
  23. #WHD_HOOK_SCRIPTS="scripts"
  24. # Hook execution logs location, default is OS temporary directory
  25. #WHD_HOOK_LOG_DIR="/tmp"
  26. # Number of workers to start, default is 2
  27. #WHD_HOOK_WORKERS=2
  28. # Static file directory to serve on /static path, disabled by default
  29. # Example: `./var/www`
  30. #WHD_STATIC_DIR=
  31. # Path to serve static file directory, default is "/static"
  32. #WHD_STATIC_PATH=/static
  33. # Notification URI, disabled by default
  34. # Example: `http://requestb.in/v9b229v9` or `mailto:foo@bar.com?smtp=smtp-relay-localnet:25`
  35. #WHD_NOTIFICATION_URI=
  36. # Password file for HTTP basic authentication, default is ".htpasswd"
  37. #WHD_PASSWD_FILE=".htpasswd"
  38. # Truststore URI, disabled by default
  39. # Enable HTTP signature verification if set.
  40. # Example: `/etc/webhookd/pubkey.pem`
  41. #WHD_TRUSTSTORE_FILE=
  42. # Activate TLS, default is false
  43. #WHD_TLS_ENABLED=false
  44. # TLS key file, default is "./server.key"
  45. #WHD_TLS_KEY_FILE="./server.key"
  46. # TLS certificate file, default is "./server.crt"
  47. #WHD_TLS_CERT_FILE="./server.pem"
  48. # TLS domain name used by ACME, key and cert files are ignored if set
  49. # Example: `hook.example.org`
  50. #WHD_TLS_DOMAIN=
  51. # GIT repository that contains scripts
  52. # Note: this is only used by the Docker image or by using the Docker entrypoint script
  53. # Example: `git@github.com:ncarlier/webhookd.git`
  54. #WHD_SCRIPTS_GIT_URL=
  55. # GIT SSH private key used to clone the repository
  56. # Note: this is only used by the Docker image or by using the Docker entrypoint script
  57. # Example: `/etc/webhookd/github_deploy_key.pem`
  58. #WHD_SCRIPTS_GIT_KEY=