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
Respect project name from docker-compose.yml
#7905
Comments
Can you attach your code for review and testing? Thanks! |
@tamarahenson Services are not relevant here.
|
@KES777 It looks like the Before compose V2 2.3.0, when using the Would I be right in assuming the precedence you'd prefer for this would be as follows?
|
@jamescarppe , Yes, you are right. I agree with that priority. |
Bug description
I have
docker-compose.yml
file which sets up project name. But portainer ignores it and creates stack/network with different name.Expected behavior
It should be named like:
mail-mailserver-1
,mail_mail-net
Steps to reproduce the issue:
Technical details:
Portainer version: 15.1
Docker version (managed by Portainer): Docker version 20.10.18, build b40c2f6
Platform (windows/linux): Linux
Command used to start Portainer (
docker run -p 9443:9443 portainer/portainer
): docker run -d -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latestBrowser: FF v105.0.1
Use Case (delete as appropriate): Using Portainer at Home
Have you reviewed our technical documentation and knowledge base? Yes/No
The text was updated successfully, but these errors were encountered: