Skip to content

correct instance env config #267

Description

@tacman

My config used to work, but now it doesn't. The documentation doesn't appear to have changed.

I assume I can now set an instance number (before it was always 1). But what's the ENV var I need?

    meilisearch-ui:
        image: riccoxie/meilisearch-ui:latest
        container_name: meilisearch-ui
        restart: on-failure:5
        environment:
            SINGLETON_MODE: "true"
            SINGLETON_INDEX: 1
            SINGLETON_HOST: http://meilisearch:7700
            SINGLETON_API_KEY: ${MEILI_API_KEY:-MyKey}
            NODE_OPTIONS: --max-old-space-size=4096
        ports:
            - "24900:24900"
        depends_on:
            - meilisearch
        networks:
            - meili_network
Singleton mode detected! Connection fail!
Running with invalid instance config, you must have set correct instance env config before launch.

Powered by [Ricco Xie](https://riccox.com/)
Version: 0.14.1[8aff485]
Meilisearch JS SDK version in use: 0.49.0
[Github](http://github.com/riccox/meilisearch-ui)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions