humanmade / humanmade/altis-dev-tools

Codespaces: S3 Console link is generated with a local url

Open
#395 0 comments 0 reactions 0 assignees View on GitHub
bug should have
Dominant language
PHP
Stars
7
Forks
0
Avg merge
1d 9h
Merged PRs (30d)
2

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.