Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat]: Adding more preevy environment variables #501

Open
1 task done
ChrisTitos opened this issue May 31, 2024 · 0 comments
Open
1 task done

[Feat]: Adding more preevy environment variables #501

ChrisTitos opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ChrisTitos
Copy link

What feature?

Hi,
We're setting up preevy and we've run into some minor annoyances.

From what I understand, the only preevy-related environment variable we can use is PREEVY_BASE_URI_{SERVICE}, however this is not sufficient for our needs for multiple reasons;

  • Our application (PHP) needs to know the domain it is running on. Just the domain so now we would have to do some parsing in the application to get that.
  • We use minio as an S3 development alternative, and for that we need the url to the service. However the one in the preevy environment variable is http instead of https, and it has a trailing slash, which we don't need.

Describe the solution you'd like

All our cases would be solved if we could get more preevy environment variables, like:

  • the environment id (with this we could build the url ourselves)
  • just the host name, without the scheme and no trailing slashes

Describe alternatives you've considered

No response

Additional context

No response

Add screenshots

No response

Record

  • I agree to follow this project's Code of Conduct
@ChrisTitos ChrisTitos added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant