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

Need an env var to supply connectionString #266

Open
troykelly opened this issue Jun 4, 2020 · 1 comment
Open

Need an env var to supply connectionString #266

troykelly opened this issue Jun 4, 2020 · 1 comment

Comments

@troykelly
Copy link

Need to be able to provide the connectionString rather than host and port for docker containers.

@andrewwippler
Copy link

andrewwippler commented Jul 27, 2020

I think you may be confused what this does. adminMongo connects to a server and not to a particular database via connectionString.

An example with docker-compose:

version: '3'
services:
  adminmongo:
    image: mrvautin/adminmongo
    ports:
      - "1234:1234"
    environment:
      DB_HOST: mongo
      DB_PORT: 27017
    depends_on:
      - mongo
  mongo:
    image: mongo:latest
    ports:
      - "27017:27017"

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