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 #75

Open
patilauminfi opened this issue Jan 20, 2022 · 1 comment
Open

Comments

@patilauminfi
Copy link

when I try to run this command I get following issue.
sudo docker-compose build osm-poi osm-parquetizer


ERROR: The Compose file './docker-compose.yml' is invalid because:
Unsupported config option for services.admin-boundaries: 'profiles'
Unsupported config option for services.database-importer: 'profiles'
Unsupported config option for services.database-transformer: 'profiles'
Unsupported config option for services.google-poi-api: 'profiles'
Unsupported config option for services.google-poi-pipeline: 'profiles'
Unsupported config option for services.google-trends: 'profiles'
Unsupported config option for services.jupyter: 'profiles'
Unsupported config option for services.osm-parquetizer: 'profiles'
Unsupported config option for services.osm-poi: 'profiles'
Unsupported config option for services.population-density: 'profiles'
Unsupported config option for services.postgres: 'profiles'
Unsupported config option for services.torproxy: 'profiles'

However it runs successfully if I comment out profile and its subitems in .yml file.
Is it right to do so? Would it create a problem ahead?

@mattigrthr
Copy link
Contributor

Hi @patilauminfi! Removing the profile attribute in the .yml file would indeed cause issues and break things in the pipelines as they sometimes depend on each other.

I could not reproduce the error but my guess would be that your docker-compose version might not be the latest. Are you running docker-compose v2? We had people on Windows running into that so we've added the hint to the documentation.

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

2 participants