Depending on the host where I'm running Docker-compose, I get different network naming. For instance:
This is my docker-compose file:
./my-project-folder/docker-compose.yml
version: '3'
services:
search:
build: docker/server
container_name: server
ports:
- 9200:9200
I have a project called my-project-folder and the network is called:
my-project-folder_default
But sometimes I get this network name:
myprojectfolder_default
Is there a way to have consistent network names?