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

Add flags for Quick connect username and password that can be used in docker-compose #95

Open
kgolubic opened this issue Apr 2, 2024 · 0 comments

Comments

@kgolubic
Copy link
Contributor

kgolubic commented Apr 2, 2024

At the moment, if you have a docker-compose file like this one, you can pass a defined username and password to the Lab so that Quick connect works. Adding new environment variables/flags could solve this.

version: "3"

services:
  memgraph:
    image: memgraph/memgraph-mage:latest
    container_name: memgraph-mage
    ports:
      - "7687:7687"
      - "7444:7444"
    command: ["--log-level=TRACE"]
    environment:
      - MEMGRAPH_USER=kruno
      - MEMGRAPH_PASSWORD=pass1

  lab:
    image: memgraph/lab:latest
    container_name: memgraph-lab
    ports:
      - "3000:3000"
    depends_on:
      - memgraph
    environment:
      - QUICK_CONNECT_MG_HOST=memgraph
      - QUICK_CONNECT_MG_PORT=7687
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

1 participant