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

specify one of host, hosts or roles : is roles still a valid key for accessories? #1162

Open
adrienpoly opened this issue Oct 25, 2024 · 2 comments

Comments

@adrienpoly
Copy link

I was trying to make this configuration so that Meilisearch is available in the web and job network.

accessories:
  search:
    image: getmeili/meilisearch:v1.10
    roles:
      - web
      - job
    env:
      clear:
        MEILI_ENV: production

I am getting the error

ERROR (Kamal::ConfigurationError): accessories/search: specify one of `host`, `hosts` or `roles`

Is roles deprecated in V2?

@strzibny
Copy link

strzibny commented Oct 26, 2024

Roles still work for me. Also the message itself suggests specify one of host, hosts or roles so maybe the formatting or white space is wrong?

@adrienpoly
Copy link
Author

Ok I investigated again, I don't think I have a formatting error but something is very strange as the issues seems to come and go.

I cannot get a full reproduction env yet but working on it

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

2 participants