Skip to content

Keeping Settings during Docker Container Replacement #73

Answered by seriousm4x
paswai asked this question in Help wanted
Discussion options

You must be logged in to vote

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@paswai
Comment options

Answer selected by paswai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants