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

Proposal: Passing config file #4

Open
bompi88 opened this issue Jan 23, 2017 · 1 comment
Open

Proposal: Passing config file #4

bompi88 opened this issue Jan 23, 2017 · 1 comment

Comments

@bompi88
Copy link

bompi88 commented Jan 23, 2017

I would love to be able to mount a local config file and pass the location in with the -c option, something like:

docker run -d
    --link=mongo:mongo
    --link=elasticsearch:elasticsearch
    --volume=/local/path/to/file/.mongoconnector_dev.conf:/mongoconnector.conf
    yeasy/mongo-connector /bin/bash /tmp/startup.sh -c /mongoconnector.conf
@yeasy
Copy link
Owner

yeasy commented Jan 25, 2017

Then u might use the bash -c "blabla" as the docker run cmd.

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