apiato-vue icon indicating copy to clipboard operation
apiato-vue copied to clipboard

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

Open comod opened this issue 6 years ago • 5 comments

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 avatar Dec 25 '18 11:12 comod

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
...

comod avatar Dec 25 '18 11:12 comod

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

danipolo avatar Feb 18 '19 21:02 danipolo

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: https://github.com/chaban/apiato-vue/issues/1#issuecomment-464891906

chaban avatar Feb 19 '19 07:02 chaban

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?

danipolo avatar Feb 19 '19 07:02 danipolo

I'm sorry. Added file with environment variables in laradock folder. Rename it to .env

2019-02-19 10:13 GMT+03:00, Dani Polo [email protected]:

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?

--

You are receiving this because you commented.

Reply to this email directly or view it on GitHub:

https://github.com/chaban/apiato-vue/issues/1#issuecomment-465013412

chaban avatar Feb 19 '19 08:02 chaban