Coder Social home page Coder Social logo

meiliadmin's People

Contributors

kadirfiratftw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

meiliadmin's Issues

network_mode host is hard to use on Mac/Windows

Hi Kadir,

you chose to switch from port mapping to network_mode: host in docker-compose.yml, probably because users were trying to add a server as "127.0.0.1" and assumed it would be their laptop/desktop machine, but it was referring to the container itself.

Networking on Mac (and Windows): the docker network mode “host” is kinda useless here as docker is not running natively on macOS (nor on Windows) but creates a virtual machine running Linux which is then the Docker host. The ports mapped via the ports param/setting are forwarded to the Mac or to Windows via an additional port mapping. However, the host mode only exposes the container’s ports to the (hidden) Linux docker host running in a VM on Mac/Windows, not to Mac/WIndows itself.

The most convenient way (which I know) to work around it is the host host.docker.internal which resolves to the Mac/Windows) hosts virtual IP address.

Workaround/Fix

What I currently do is: I go back to a docker-compose.yaml with ports instead of network_mode host, then docker-compose up -d --build. Then docker-compose exex meilipanel sh then ping host.docker.internal which shows the IP address which I can then enter into the “Add server” dialog. This would be a little bit easier when I could just add the hostname host.docker.internal or e.g. http://host.docker.internal:7700/ in the add-server dialog (see #6).

Further improvement idea

As users might not be aware of the described issue above, you might want to add a note if you could detect you're running in a Container on a Mac/Windows host (which I don't know how without mounting external volumes etc).
Or you could transparently try connecting to host.docker.internal if the user enters 127.0.0.1 or localhost Either always or if you know you're running inside a Docker container. You could detect e.g. by checking for the file .dockerenv in the root directory of the container).

Can't create index from panel.

Issue:
Can't create index from admin panel.

Reproduce Steps:
1 - Install panel
2 - Add your server
3 - Try create an index in your server

Installation:
Docker / PM2 Auto Deploy / Manuel

Expectation:
I need to create an index successfully.

Allow hostname in Add-Server dialog

Currently there's a validation that an IP is entered in the add-server dialog. In addition, it would be nice if a hostname could be added.

As a further enhancement (maybe worth a separate ticket), I have some Meili instances mounted in a subfolder, e.g. https://example.org/meili/ and I'd like to use this address directly. As you can see, this would combine schema, host, path (and also indirectly port) into one single field.

Error building meilipanel docker

On the final build step I got this error

 > [build-stage 6/6] RUN npm run build:
#13 1.303
#13 1.303 > [email protected] build
#13 1.303 > vue-cli-service build
#13 1.303
#13 1.985
#13 1.987 -  Building for production...
#13 15.92  ERROR  Error: CSS minification error: Lexical error on line 1: Unrecognized text.
#13 15.92
#13 15.92   Erroneous area:
#13 15.92 1: $colorpicker-radius / 1.75
#13 15.92 ^..^. File: css/chunk-vendors.fa174958.css
#13 15.92 Error: CSS minification error: Lexical error on line 1: Unrecognized text.
#13 15.92
#13 15.92   Erroneous area:
#13 15.92 1: $colorpicker-radius / 1.75
#13 15.92 ^..^. File: css/chunk-vendors.fa174958.css
#13 15.92     at /app/node_modules/@intervolga/optimize-cssnano-plugin/index.js:106:21
#13 15.92     at async Promise.all (index 1)
------
executor failed running [/bin/sh -c npm run build]: exit code: 1
ERROR: Service 'meilipanel' failed to build : Build failed

Any ideas?

Allow specifying an API key for a server

Meilisearch typically doesn't have a Master Key while running in development. However, as soon as you're going to production you'll want to set a Master Key and thus need to specify either this or the private key in MeiliAdmin to be able to access the instance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.