Open alaminsahed opened 3 years ago
You docker-compose file looks good. Based on your error (Bind for 0.0.0.0:8080 failed: port is already allocated
) it seems like you already have a service running on port 8080.
Try find it (netstat -vanp tcp | grep 8080
) and kill it before starting your docker-compose file again.
@elitan thanks for the response. I followed your previous hints. Now there is no error on my console. But in docker, all docker images are restarting automatically. When I go to http://localhost:8080/console
, there is nothing in databases. Maybe data migration failed there.
docker image:
@alaminsahed I've just built a couple of images that work on both x64 & arm64, you can find them on dockerhub
eingressio/hasura-backend-plus-app eingressio/hasura-backend-plus-postgres
No readmes yet but nothing different thats worth mentioning really - had to fork HBP and bump the 'sharp' version in order to get prebuilt arm libmusl (alpine) libs for it.
Top tip, you can also update minio to minio/minio:latest to get an arm64 build so your stack is arm all the way.
Successfully deployed locally on M1 & remotely on x64
Another tip, try running using the docker-compose up
without the -d so that you can see the log output in realtime
The hasura-backend-plus don't work on macOS M1.
I know hasura official image doesn't work But there is an alternative unofficial docker image that did the job.
Is there any way to work with hasura backend plus on macOS M1?
error:
docker-compose.ymal
file