mirror of
https://github.com/supabase/supabase.git
synced 2026-06-22 22:15:59 +08:00
20 lines
617 B
Markdown
20 lines
617 B
Markdown
---
|
|
id: docker
|
|
title: Docker
|
|
description: 'Host your own Postgres server'
|
|
---
|
|
|
|
## Docker
|
|
|
|
The image is now available in [Docker Hub](https://hub.docker.com/r/supabase/postgres) under the name `supabase/postgres`.
|
|
|
|
## Docker compose
|
|
|
|
You can use the [docker-compose file](https://github.com/supabase/postgres/blob/develop/docker/docker-compose.yml) 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](https://hub.docker.com/_/postgres), environment variables from the postgreSQL 12 image are applicable to this image.
|