Update without backupping the env-files #1161
Replies: 4 comments
-
You can commit your env files to your local git repository. When updating (I recommend
We can think about this. Though this complicates the first-time experience with one extra step. More importantly, when we make changes to the |
Beta Was this translation helpful? Give feedback.
-
I also came across this question. Is it possible to update the documentation accordingly and point out this fact? Unfortunately, I am not familiar with Git to do it myself. |
Beta Was this translation helpful? Give feedback.
-
The wiki is a community wiki and everyone is welcome to improve it to the best of their knowledge. |
Beta Was this translation helpful? Give feedback.
-
maybe the easiest way is to move all your special entries from the env/* files to your docker-compose.override.yml - so they don't interfere with the git pull. at least that's what I did to solve that problem for me |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Desired Behavior
I would like to update my netbox, like described at the wikipage https://github.com/netbox-community/netbox-docker/wiki/Updating, just with pulling the git repository, without moving env-files.
Contrast to Current Behavior
The current behavior is, that I have to copy my customized env-files to another location, then pull the update with git pull and then move back my env-files.
Required Changes
This could be achieved, similar to the docker-compose.override.yml, with an example env-example folder and adding the normal env-folder to the .gitignore, so I can normally pull the update, even if I made changes to the env-files.
Discussion: Benefits and Drawbacks
#1099
Beta Was this translation helpful? Give feedback.
All reactions