-
Notifications
You must be signed in to change notification settings - Fork 360
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
Custom data directory not working #267
Comments
If you are installing inside docker, your data upgrades will be ephemeral - you will need to download them every time you start the container. A better option is to create a docker volume that has the data files. Whenever you upgrade the files, you commit the volume to create a new image. This only needs to be done once a month. You can mount this volume into other docker containers as read-only to be used as needed. |
@bluesmoon Thanks. |
Mount the volume into that location |
Can you please elaborate the steps. As i am new in Docker.
My yml file for project
|
I am using 1.4.10 version in my NestJs (node) project.
I run my project using the docker.
When i execute update command inside docker and restart the container, the data will lose.
So I read the documentation they mention here to use env variable. https://github.com/geoip-lite/node-geoip?tab=readme-ov-file#environment-variables
but Some how it is not working. they always use directory of the the node_modules.
Is that something I missed?
Thank you.
The text was updated successfully, but these errors were encountered: