classtranscribe / classtranscribe/FrontEnd

Links to pgadmin, traefik, and rabbitmq don't work when running full-stack locally

Open
#429 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
24
Forks
29
PR merge metrics
No merged PRs in 30d

Description

I am running CT full-stack (both the frontend and the backend) with docker on a macbook pro (running Big Sur).

The backend is served on port 35020, and the frontend is served on port 443 (the default HTTPS port).

The links to pgadmin, traefik and rabbitmq are broken because they redirect me to port 35020 instead of port 443. As an example: clicking on the pgadmin link sends me to [http://localhost:35020/pgadmin/](url):
Screen Shot 2021-08-27 at 2 05 37 PM

But if I change the port number manually to 443, I get the correct page:
Screen Shot 2021-08-27 at 2 06 11 PM

So sending me to [http://localhost:443/pgadmin/](url) would fix the problem. I believe that sending me to [http://localhost/pgadmin/](url) would also work, as 443 is the default HTTPS port so the browser automatically picks it up (at least it does for me).

Important note: don't change the swagger link. The link to swagger is working because it needs the backend port number (35020).

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the Docker full-stack setup and inspect the frontend links for pgadmin, traefik, and rabbitmq alongside the working Swagger link. Done means those three links use the frontend HTTPS/default port rather than backend port 35020, while Swagger continues to use port 35020.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, javascript, react, redux
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.