Skip to content
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

ERROR: The Compose file '.\docker-compose.yml' is invalid because: ... #1

Open
comod opened this issue Dec 25, 2018 · 5 comments
Open

Comments

@comod
Copy link

comod commented Dec 25, 2018

I`ve followed your instructions, but without success:

C:\xampp\htdocs\docker\apiato-vue\laradock>docker-compose up -d --build

WARNING: The APPLICATION variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_XDEBUG variable is not set. Defaulting to a blank string.
WARNING: The INSTALL_BLACKFIRE variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_SOAP variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_MONGO variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_PHPREDIS variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_MSSQL variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_NODE variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_YARN variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_DRUSH variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_DRUPAL_CONSOLE variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_AEROSPIKE variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_V8JS variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_COMPOSER_GLOBAL_INSTALL variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_WORKSPACE_SSH variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_LARAVEL_ENVOY variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_LARAVEL_INSTALLER variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_DEPLOYER variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_LINUXBREW variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_MC variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_SYMFONY variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_PYTHON variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_IMAGE_OPTIMIZERS variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_INSTALL_IMAGEMAGICK variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_PUID variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_PGID variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_NODE_VERSION variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_YARN_VERSION variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_TIMEZONE variable is not set. Defaulting to a blank string.
WARNING: The BLACKFIRE_CLIENT_ID variable is not set. Defaulting to a blank string.
WARNING: The BLACKFIRE_CLIENT_TOKEN variable is not set. Defaulting to a blank string.
WARNING: The PHP_VERSION variable is not set. Defaulting to a blank string.
WARNING: The WORKSPACE_SSH_PORT variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_XDEBUG variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_SOAP variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_MONGO variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_MSSQL variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_ZIP_ARCHIVE variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_BCMATH variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_PHPREDIS variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_MEMCACHED variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_OPCACHE variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_EXIF variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_AEROSPIKE variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_MYSQLI variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_TOKENIZER variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_INTL variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_GHOSTSCRIPT variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_LDAP variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_SWOOLE variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_IMAGE_OPTIMIZERS variable is not set. Defaulting to a blank string.
WARNING: The PHP_FPM_INSTALL_IMAGEMAGICK variable is not set. Defaulting to a blank string.
WARNING: The PHP_IDE_CONFIG variable is not set. Defaulting to a blank string.
WARNING: The NGINX_PHP_UPSTREAM_CONTAINER variable is not set. Defaulting to a blank string.
WARNING: The NGINX_PHP_UPSTREAM_PORT variable is not set. Defaulting to a blank string.
WARNING: The NGINX_HOST_LOG_PATH variable is not set. Defaulting to a blank string.
WARNING: The NGINX_SITES_PATH variable is not set. Defaulting to a blank string.
WARNING: The NGINX_HOST_HTTP_PORT variable is not set. Defaulting to a blank string.
WARNING: The NGINX_HOST_HTTPS_PORT variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_DB variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_USER variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_PASSWORD variable is not set. Defaulting to a blank string.
WARNING: The POSTGRES_PORT variable is not set. Defaulting to a blank string.
WARNING: The DATA_SAVE_PATH variable is not set. Defaulting to a blank string.
WARNING: The REDIS_PORT variable is not set. Defaulting to a blank string.
ERROR: The Compose file '.\docker-compose.yml' is invalid because:
services.workspace.ports is invalid: Port ranges don't match in length
services.nginx.ports is invalid: Port ranges don't match in length
services.redis.ports is invalid: Port ranges don't match in length
services.nginx.ports is invalid: Port ranges don't match in length
  • As a side note you have a typo in your README.md (laradoc=>laradock)
  • Furthermore i think REDIS_HOST and DB_HOST must be filled in api/.env instead of laradock.env!?
@comod comod changed the title Doesnt Work ERROR: The Compose file '.\docker-compose.yml' is invalid because: ... Dec 25, 2018
@comod
Copy link
Author

comod commented Dec 25, 2018

This instruction is totally incomplete! Please provide a working example...

DOCKER_HOST_IP="192.168.99.100"
WORKSPACE_SSH_PORT=22
NGINX_HOST_HTTP_PORT=80
NGINX_HOST_HTTPS_PORT=443
REDIS_PORT=6379
PHP_VERSION=71
WORKSPACE_PUID=123
WORKSPACE_PGID=123
...

@danipolo
Copy link

Same problem here... The file .env is not present anywhere :(

@chaban
Copy link
Owner

chaban commented Feb 19, 2019 via email

@danipolo
Copy link

Docker starts from laradock folder. Please read readme file 2019-02-19 0:47 GMT+03:00, Dani Polo [email protected]:

Same problem here... The file .env is not present anywhere :( -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: #1 (comment)

Can you please share an .env file example please?

@chaban
Copy link
Owner

chaban commented Feb 19, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants