Configure Load Balancer for DT deployed on GCE #3807
-
Hi, I have deployed Dependency track using docker compose (deploying on docker container) on a Google Compute Engine. Currently, I have used external ip ( I would like to set an Global load balancer in GCP which has public IP with SSL configured (protocol How would I configure docker compose (frontend + API backend) to use Load balancer URL. At the moment, both the API server & Frontend are hosted on Same VM so even If I configure Load balancer with SSL, how would I use the Here is the Github Action used (From point 1):
Can I deploy Also, How can I use the subdomain that is mapped to external IP of VM (that runs both the components)? Any guidance would be appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't fully understand the question. If you have the containers running and the load balancer can reach them, you can configure the loadbalancer to proxy https://deptrack.spawar.com to the frontend container and proxy https://deptrack.spawar.com/api to the api container. Then use https://deptrack.spawar.com as API_BASE_URL and in your GH action. |
Beta Was this translation helpful? Give feedback.
@valentijnscholten - Apologies for reaching out on multiple platforms. I was bale to resolve the issue which has happened at the Load Balancer level.