-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Envrionment:
PS C:\Users\User> wsl -l -v
NAME STATE VERSION
* Ubuntu-20.04 Running 2
$ docker-compose -v docker-compose version 1.25.0, build unknown
Error:
~/airflow-tutorial/Airflow-tutorial$ docker-compose up airflow-init
ERROR: The Compose file './docker-compose.yaml' is invalid because: services.postgres.expose is invalid: should be of the format 'PORT[/PROTOCOL]' services.redis.expose is invalid: should be of the format 'PORT[/PROTOCOL]' Unsupported config option for services.airflow-cli: 'profiles' Unsupported config option for services.flower: 'profiles' Invalid top-level property "x-airflow-common". Valid top-level sections for this Compose file are: version, services, networks, volumes, and extensions starting with "x-". 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. For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/ services.airflow-scheduler.depends_on contains an invalid type, it should be an array services.airflow-triggerer.depends_on contains an invalid type, it should be an array services.airflow-webserver.depends_on contains an invalid type, it should be an array services.airflow-worker.depends_on contains an invalid type, it should be an array services.flower.depends_on contains an invalid type, it should be an array services.airflow-cli.depends_on contains an invalid type, it should be an array services.airflow-init.depends_on contains an invalid type, it should be an array
Metadata
Metadata
Assignees
Labels
No labels