FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    docker compose issue

    Scheduled Pinned Locked Moved Unsolved
    Q&A
    2
    4
    2.6k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      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?

      --
      FusionAuth - Auth for devs, built by devs.
      https://fusionauth.io

      danD 1 Reply Last reply Reply Quote 0
      • danD
        dan @dan
        last edited by

        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?

        --
        FusionAuth - Auth for devs, built by devs.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • R
          ryan.hopper
          last edited by

          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.

          danD 1 Reply Last reply Reply Quote 1
          • danD
            dan @ryan.hopper
            last edited by

            @ryan-hopper Thanks for sharing that info. Appreciate it!

            --
            FusionAuth - Auth for devs, built by devs.
            https://fusionauth.io

            1 Reply Last reply Reply Quote 0
            • First post
              Last post