Keeping Settings during Docker Container Replacement #73
-
Hi all, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, thats what docker volumes are for. It allows you to mount a folder from your host inside the container. |
Beta Was this translation helpful? Give feedback.
Hi, thats what docker volumes are for. It allows you to mount a folder from your host inside the container.
Use this and your database will be persistant: https://github.com/seriousm4x/UpSnap/blob/master/docker-compose.yml#L8-L9