Following the steps provided in this guide while installing Apache Superset on Windows, I've had errors while setting up a docker container using Docker Compose (after cloning the project in apache/superset).
docker compose pull
and
docker compose up -d
gives me:
time="2024-04-20T21:18:08-03:00" level=warning msg="The \"CYPRESS_CONFIG\" variable is not set. Defaulting to a blank string."
time="2024-04-20T21:18:08-03:00" level=warning msg="The \"SCARF_ANALYTICS\" variable is not set. Defaulting to a blank string."
time="2024-04-20T21:18:08-03:00" level=warning msg="The \"CYPRESS_CONFIG\" variable is not set. Defaulting to a blank string."
validating C:\superset\superset\docker-compose.yml: services.superset.env_file.0 must be a string
I don't know how to fix this error, since it says it can't find the environment variables and it can't read properly the env file. I have searched in the whole internet, github discussions and stackoverflow but had zero success.
Update your docker version to latest(on windows update docker desktop), because you are using compose plugin. Compose also will be updated to ~ v2.26.X
. This is a latest feature of docker compose 2.24
.
Added to superset here: https://github.com/apache/superset/pull/28039