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

Fix erroneous boolean in compose.yml #84

Merged
merged 1 commit into from
Aug 4, 2024
Merged

Conversation

caboteria
Copy link
Contributor

The word On is a boolean in YAML, so we need to use "On" instead because Docker Compose's environment feature expects a string value.

$ make up
Starting up containers for my_wordpress_project...
docker-compose pull
ERROR: The Compose file './compose.yml' is invalid because:
services.php.environment.PHP_MAIL_MIXED_LF_AND_CRLF contains true, which is an invalid type, it should be a string, number, or a null
make: *** [docker.mk:16: up] Error 1

The word `On` is a boolean in YAML, so we need to use `"On"` instead
because Docker Compose's environment feature expects a string value.

```
$ make up
Starting up containers for my_wordpress_project...
docker-compose pull
ERROR: The Compose file './compose.yml' is invalid because:
services.php.environment.PHP_MAIL_MIXED_LF_AND_CRLF contains true, which is an invalid type, it should be a string, number, or a null
make: *** [docker.mk:16: up] Error 1
```
@csandanov csandanov merged commit 57fbfc0 into wodby:master Aug 4, 2024
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

Successfully merging this pull request may close these issues.

2 participants