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

Custom service hostname #39

Closed
TheoCouss opened this issue May 3, 2024 · 2 comments
Closed

Custom service hostname #39

TheoCouss opened this issue May 3, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@TheoCouss
Copy link

The service hostname is currently generated randomly, which is not convenient for setting up and developing applications that use multiple internal services. It would be more useful if the hostname could be generated based on the project and service names, and also be modifiable as needed.

@Siumauricio
Copy link
Contributor

This is a good idea, but the thing is that there could be some conflicts regarding the container service name, so allowing this way can lead to unexpected problems, for example you create 2 projects and inside create the same name of an application or database, the idea sounds good, however you have to think of something extra to prevent that problem

@TheoCouss
Copy link
Author

Instead of random names, I suggest generating hostnames based on the project and service names. For example, if the project is called "MyProject" and the service is "nginx", the hostname could be something like "myproject-nginx". This way, it's clearer which service each hostname corresponds to, making it simpler to set up and work with multiple internal services within a project. It will be necessary to add a function which checks if the hostname already exists or not.

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
Status: Released
Development

No branches or pull requests

3 participants