Closed itsezc closed 4 months ago
Hi @itsezc
surrealkv is en embedded database, like rocksdb/sled/redb. The docker/helm image will not really help at all. You can always embed it in your application like a crate.
If you want to use it with surrealdb with the existing docker image, you can always use our existing docker commands to use surrealkv from the beta image
docker run --rm --pull always -p 8000:8000 --user $(id -u) -v $(pwd)/mydata:/mydata surrealdb/surrealdb:latest start surrealkv:/mydata/mydatabase.db
If you want to use it with surrealdb with the existing docker image, you can always use our existing docker commands to use surrealkv from the beta image
docker run --rm --pull always -p 8000:8000 --user $(id -u) -v $(pwd)/mydata:/mydata surrealdb/surrealdb:latest start surrealkv:/mydata/mydatabase.db
I might be missing something but you were referring to a "beta image" while the docker run is referring to the latest tag. Is this correct?
If you want to use it with surrealdb with the existing docker image, you can always use our existing docker commands to use surrealkv from the beta image
docker run --rm --pull always -p 8000:8000 --user $(id -u) -v $(pwd)/mydata:/mydata surrealdb/surrealdb:latest start surrealkv:/mydata/mydatabase.db
I might be missing something but you were referring to a "beta image" while the docker run is referring to the latest tag. Is this correct?
There is no tag for beta
or v2
for Surreal, the closest you have according to Dockerhub would be nightly
or v2.0.0-alpha.7-dev which is current alpha for v2.
Hey @itsezc @Sandros94
You are right, thanks for correcting. The nightly would be the one
Since SurrealKV is ready for usage (as beta) with SurrealDB, it'd be useful to have a Dockerimage and have it published on Docker hub