singlestore-labs / singlestoredb-dev-image

The SingleStoreDB Dev Container is the fastest way to develop with SingleStore on your laptop or in a CI/CD environment.
Apache License 2.0
40 stars 15 forks source link

Add note about persistent volumes and specifying a version at runtime. #55

Closed danmatthews closed 7 months ago

danmatthews commented 10 months ago

I hit this issue as we were using our .env file to keep the engine version the same as our production environment.

But this meant if the containers went down or our laptops restarted, we would lose any data in our local databases.

Instead, we've now included a Laravel console command to allow our developers to build a custom image with the specified engine version.

This note just serves to hopefully clear that up.