-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
Comments
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 |
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. |
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.
The text was updated successfully, but these errors were encountered: