The image is now available in Docker Hub under the name supabase/postgres.

Docker compose

You can use the docker-compose file available in this repository as your starting point. You can then run:

$ docker-compose up

As the image is based on the postgreSQL 12 image, environment variables from the postgreSQL 12 image are applicable to this image.