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 persistence to docker #144

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mpietruschka
Copy link

Hey,

every time I recreated my docker container I had to wait 24 hours until enough data has been collected to return some zimmermann calculation.

Persisting the observations in the containers working directory has been a good start, but didn't help in my case.

I added another environment Variable which is making the user able to define a different directory storing observations.json and geocoderCache.json.

  • process.env.PERSISTENCE_LOCATION

Furthermore I extended the Dockerfile. It is preset to use an anonymous volume storing those files. Its mounted into /data.

Regards

@mpietruschka mpietruschka changed the title add peristence to docker add persistence to docker Sep 19, 2023
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

Successfully merging this pull request may close these issues.

1 participant