emalderson/ThePhish

ERROR: Version in "./docker-compose.yml" is unsupported

y0d4a opened this issue · 2 comments

y0d4a commented

Hi, i just cloned and try to start from compose file, but I am getting:

root@123:/opt/ThePhish/docker# docker-compose up
WARNING: The http_proxy variable is not set. Defaulting to a blank string.
WARNING: The https_proxy variable is not set. Defaulting to a blank string.
ERROR: Version in "./docker-compose.yml" is unsupported. You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.

With compose:
docker-compose version 1.25.0, build unknown

Try version 3 in docker compose.

version: "3"

y0d4a commented

great, working now, tnx.!