jamsocket / y-sweet

A realtime CRDT-based document store, backed by S3.
https://docs.jamsocket.com/y-sweet
Other
535 stars 29 forks source link

y-sweet image giving error while running docker container #259

Closed ashukumar2001 closed 1 month ago

ashukumar2001 commented 2 months ago

image

When i was running the image getting this error

paulgb commented 2 months ago

Hi @ashukumar2001, sorry for the slow reply, just saw this.

I believe what happened is that the version of y-sweet you had cached in Docker was not compatible with some changes we made recently to the Docker Compose file. I have tested with the latest to make sure it works now.

First, make sure you are on the latest image version:

docker pull ghcr.io/jamsocket/y-sweet:latest
docker run ghcr.io/jamsocket/y-sweet:latest y-sweet version

The second command should print 0.2.2.

Then, try passing y-sweet serve:

docker run -p 8080:8080 ghcr.io/jamsocket/y-sweet:latest y-sweet serve

Alternatively, you can run npx y-sweet serve if you have npm installed.