changed the way docker is initialized, the container name now defaults to the main docker name for the services in the <branch>.yml file

modified:   initialize.py
This commit is contained in:
Ronny Abraham 2016-11-16 12:52:39 +02:00
parent 0f56f81bf3
commit 34e887e890

View file

@ -875,9 +875,8 @@ def _init_docker(configuration, layout, config):
# then use the name given in the configuration file
configuration.docker.database.container_name = \
"{project_name}_{project_extension}{container_ext}".format(
project_name=configuration.project.name,
project_extension=configuration.project.extension,
"{docker_name}{container_ext}".format(
docker_name=configuration.docker.name,
container_ext=container_extension
)