Codespaces: S3 Console link is generated with a local url #395
Description
Running Altis on Codespaces makes it generate a local URL for the S3 console under the Tools menu.
Running locally it generates the link with a new altis.dev
subdomain in the format s3-console-[generated-hostname].altis.dev
. It presumably adds a mapping into the Traefik proxy container to connect this to the S3 container.
However on Codespaces it generates the link as http://s3-console-localhost/
which I suspect is some old pre- Traefik proxy version of the functionality.
Note, I don't think there is an option in Codespaces to generate a different subdomain from the one Codespaces gives you. However, the Kibana and Mailhog links are generated as subdirectories of the main hostname, which are then mapped in the proxy to the relevant container. I expect the S3 console could be treated the same.
This is likely related to the error message documented here https://github.com/humanmade/product-dev/issues/1171
Acceptance criteria:
- The link to Tools > S3 Console is generated correctly so that it works.