Mattermost, Inc.

Make database persistent to survive docker restart?

Hi,

I know the Docker image ist just meant as a preview for testing purposes, but is there a way to keep the data in the database across docker image restarts? When I do “docker stop”, all data is gone… or am I dong something wrong?

Current stable 1.4.0.

Thanks and cheers,
Daniel

Maybe consider this community Docker image with a production set up?

Ah thanks for that - I’ll give it a try!