diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 8afe2b5..ee2f1d1 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -27,9 +27,13 @@ services: # stdin_open is the -i option in docker exec stdin_open: true environment: - - "WITH_DOCKER=${WITH_DOCKER:-y}" + # environment variables only for Docker + - WITH_DOCKER=y + - MYSQL_ROOT_LOGIN=root + - MYSQL_TCP_PORT=3306 + # environment variables available for both Docker usage and non Docker usage - "MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}" - - "MYSQL_TCP_PORT=${MYSQL_TCP_PORT:-3306}" + #- "IP_PYROS_USER=${IP_PYROS_USER:-172.28.1.5}" volumes: - ..:/home/pyros_user/app -- libgit2 0.21.2