NOEDITS #----------------------------------------------------------------------------- # General Application Settings #----------------------------------------------------------------------------- # HWS_PORT # # The port we bind to for new connections. # # HWS_PORT: 9000 # ENABLE_HTTPS # # If true, we will configure the web server to use HTTPS. # # You must configure the keystore file: see KEYSTORE_FILE setting. # Related optional settings are: KEYSTORE_PASSWORD, TRUSTSTORE_FILE, and # TRUSTSTORE_PASSWORD. # # ENABLE_HTTPS: false # KEYSTORE_FILE # # The keystore file for secure connections that provides the identity of our # server. # # Please refer to keytool documentation on keystore file generation: # https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html # # KEYSTORE_FILE: # KEYSTORE_PASSWORD # # The password to access the keystore file (indicated by KEYSTORE_FILE config) # # KEYSTORE_PASSWORD: # SETUID # # The user account to run as. If set, you should launch HWS as root. # # SETUID: 0 # SETGID # # The user group ID to run as. If set, you should launch HWS as root. # # SETGID: 0 # SETUMASK # # The umask level to reset. If non-zero, and SETUID is enabled, we will change # the umask setting. # # SETUMASK: 0 # JWT_SIGNING_KEY # # A base64-encoded signing key (for HMAC using SHA-512) used to sign our # authentication tokens. # # JWT_SIGNING_KEY: # JWT_TIMEOUT_IN_SECONDS # # The typical timeout for each signed authentication ticket. This timeout is # enforced locally, independent of any p4 ticket. # # Defaults to 2 days. # # JWT_TIMEOUT_IN_SECONDS: 172800 #----------------------------------------------------------------------------- # Behavior of P4 connections #----------------------------------------------------------------------------- # AUTO_TRUST # # Enable auto trust of p4d servers that this service is connecting to. This # will fail if the server was previously trusted, but the fingerprint has # changed. # # AUTO_TRUST: false # COMMAND_WHITELIST # # Enable more commands (or commands with required arguments) that can be # executed via the methods: # # 1. GET /p4/:api/commands/:command # 2. POST /p4/:api/commands/:command # # This is an array of either the command name, or an array of the command plus # all required arguments. # # COMMAND_WHITELIST: ["info", ["files", "-m"]] # MAX_SERVER_CONNECTIONS # # The maximum number of p4d connections we'll allow (on this instance) per # P4PORT # # MAX_SERVER_CONNECTIONS: 50 # P4DCONFIGDIR # # The directory location on disk for p4d configurations. # # P4DCONFIGDIR: # HWS_AUTH_P4D # # The P4D id to use as the authentication server for the HWS namespace # If set this id must match one of the id values in the files that specify P4D # configuration in the `P4DCONFIGDIR` directory # # HWS_AUTH_P4D: # TRUST_FINGERPRINTS # # A local file that indicates a list of p4 TLS fingerprints to always # automatically accept. # # TRUST_FINGERPRINTS: # TRUSTSTORE_FILE # # If set, a file that indicates the remote certificates to always accept. # If not set, we will reuse the keystore file. # # TRUSTSTORE_FILE: # TRUSTSTORE_PASSWORD # # The password to access the TRUSTSTORE_FILE # # TRUSTSTORE_PASSWORD: #----------------------------------------------------------------------------- # Git Fusion Specific Configuration #----------------------------------------------------------------------------- # ENABLE_GIT_FUSION # # Enable endpoints to /git-fusion/... # # If you enable this, you should make sure that the GITFUSIONDEPOT and P4PORT # values are probably defaulted to appropriate values as well. # # ENABLE_GIT_FUSION: false # GITFUSIONDEPOT # # Specify the name of the Git Fusion depot. # # GITFUSIONDEPOT: ".git-fusion"