"bug" in docker-compose.yml
Out of the box git code, produces the following error message:
$ docker-compose -f docker-compose.yml up
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.keycloak.environment.KC_HOSTNAME_STRICT contains false, which is an invalid type, it should be a string, number, or a null
services.celery_beat.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.frontend.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.mountindex.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.worker_a.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.worker_b.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.worker_c.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.worker_custom_queue.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.worker_d.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
services.worker_e.depends_on.setup_or_upgrade.condition contains "service_completed_successfully", which is an invalid type, it should be a service_started, or a service_healthy
It fixes by modifying docker-compose.yml
:
- adding quotes (") to boolean values
- replacing
service_completed_successfully
forservice_healthy
Awesome project. Greetings!