diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4c81e67..8afe2b5 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -10,6 +10,7 @@ services: environment: # note : as db is an image of mysql, this root password will be set on the first installation on the image, if the value is changed, it will not be updated in the database - "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}" + - "MYSQL_TCP_PORT=${MYSQL_TCP_PORT:-3306}" volumes: - db:/var/lib/mysql/ # create network to allow images to communicate with other images within the same network @@ -28,7 +29,8 @@ services: environment: - "WITH_DOCKER=${WITH_DOCKER:-y}" - "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}" - - "IP_PYROS_USER=${IP_PYROS_USER:-172.28.1.5}" + - "MYSQL_TCP_PORT=${MYSQL_TCP_PORT:-3306}" + #- "IP_PYROS_USER=${IP_PYROS_USER:-172.28.1.5}" volumes: - ..:/home/pyros_user/app # tells which port of local machine can communicate with the docker image (host:container), host is your local machine @@ -39,8 +41,8 @@ services: - db # create network to allow images to communicate with other images within the same network networks: - pyros-network: - ipv4_address: "${IP_PYROS_USER}" + - pyros-network + #ipv4_address: "${IP_PYROS_USER}" # declaring volumes volumes: -- libgit2 0.21.2