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

Don't copy in the config - define a volume instead #7

Open
dantownsend opened this issue Nov 19, 2024 · 0 comments
Open

Don't copy in the config - define a volume instead #7

dantownsend opened this issue Nov 19, 2024 · 0 comments

Comments

@dantownsend
Copy link
Member

At the moment the Dockerfile copies in the config file:

COPY ./config.yaml /code/config.yaml

But what we want is for the user to define their own config file.

We can define a VOLUME which tells the user where we expect the config file to be:

VOLUME /config

When the container starts, if no config file is found, we just default to showing all tables, or raise an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

1 participant