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

[Bug]: Failed to parse docker-compose.yaml (Airflow) #2705

Open
sdezza opened this issue Jun 27, 2024 · 0 comments
Open

[Bug]: Failed to parse docker-compose.yaml (Airflow) #2705

sdezza opened this issue Jun 27, 2024 · 0 comments

Comments

@sdezza
Copy link

sdezza commented Jun 27, 2024

Description

I'm encountering an issue with my docker-compose.yaml from Airflow compose file where I receive the error Mapping values are not allowed in multi-line blocks. This error occurs when attempting to use an anchor and alias for reusable configuration blocks.

Airflow documentation relative to docker compose:

Fetch docker compose:
curl -LfO 'https://airflow.apache.org/docs/apache-airflow/2.9.2/docker-compose.yaml'

Minimal Reproduction (if possible, example repository)

  • Get docker-compose.yaml file.

  • Facing first error;
    Multiple documents are not supported at line 29 (near "---").

  • After deleting "---"
    Mapping values are not allowed in multi-line blocks at line 48 (near "&airflow-common").

Exception or Error

No response

Version

v4.0.0-beta.306

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

1 participant