docker compose issue
-
I encounter an issue when I run "docker-compose up -d" is the following:
"ERROR: The Compose file './docker-compose.yml' is invalid because: services.search.environment.plugins.security.disabled contains true, which is an invalid type, it should be a string, number, or a null"
If I change the values from true to "true" or from true to "1", the opensearch container restarts regularly and has the status "unhealthy".
What can I do here?
-
Hmmm
If this is the docker compose file you are using ( https://github.com/FusionAuth/fusionauth-containers/blob/master/docker/fusionauth/docker-compose.yml )
Then https://opensearch.org/docs/2.11/security/configuration/disable/ indicates that is the correct value.
Which docker compose file are you using?
-
This wasn't me who reported, but I got this error on he most up to date compose file.
After a quick look, the machine I was trying to run it on was running an old version of docker, and was using docker compose v1 instead of 2.Updating the compose version to v2 addressed this issue.
-
@ryan-hopper Thanks for sharing that info. Appreciate it!