From 18006369e1963834b899a931cee10fcb6009f92e Mon Sep 17 00:00:00 2001 From: kdhamric Date: Tue, 11 Apr 2023 10:05:23 -0500 Subject: [PATCH] Update server.md to add http server options for server (#2338) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update server.md to add http server options for server Update server.md to add http server options for server, including TRACETEST_SERVER_HTTPPORT and TRACETEST_SERVER_PATHPREFIX * Apply suggestions from code review Co-authored-by: Adnan Rahić --------- Co-authored-by: Adnan Rahić --- docs/docs/configuration/server.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/docs/configuration/server.md b/docs/docs/configuration/server.md index 79b93d53b1..61d57e08cc 100644 --- a/docs/docs/configuration/server.md +++ b/docs/docs/configuration/server.md @@ -26,6 +26,11 @@ The list of environment variables and example values is: - `TRACETEST_POSTGRES_PASSWORD: "postgres"` - `TRACETEST_POSTGRES_PARAMS: ""` +You can also change the defaults for the Tracetest server, altering the port and path you access the dashboard from. For a Docker-based install done locally, this URL is typically `http://localhost:11633/`. You can alter it by setting either of the environment variables or using the `server` object in the server configuration file: + +- `TRACETEST_SERVER_HTTPPORT=11633` +- `TRACETEST_SERVER_PATHPREFIX="/"` + You can also intitalize the server with a number of resources the first time it is launched by using [provisioning](./provisioning).