On-Premise Setup
Custom Domain Configuration
Steps to Configure Custom Domains
Section titled “Steps to Configure Custom Domains”-
Request the Docker image with the new domain names from Testgigma using GitHub Actions.
-
Replace the HTTPS certificate in the testsigma-load-balancer container. For this, store the public key and private key files on the host machine and specify them as volumes in the docker-compose file.
For Example:
version: '3.9'services:testsigma_load_balancer:container_name: testsigma-load-balancerimage: testsigmainc/onprem:load-balancer-<CustomDomain>-trial-v120ports:- "443:443"networks:- testsigma-networkvolumes:- ./data/ts_load_balancer_data:/opt/app/ts_load_balancer_data- /path/to/new/server.crt:/usr/local/apache2/ssl/server.crt- /path/to/new/server.key:/usr/local/apache2/ssl/server.key
-
Here, replace /path/to/new/server.crt with the path to the new server.crt file on your host machine, and replace /path/to/new/server.key with the path to the new server.key file on your host machine.
-
When you run docker-compose up, the server.crt and server.key files in the container will be replaced with the new files from the host machine.