mirror of
https://github.com/supabase/supabase.git
synced 2026-05-06 22:18:00 +08:00
16 lines
569 B
YAML
16 lines
569 B
YAML
# Postgres 17 override for self-hosted Supabase.
|
|
#
|
|
# Usage (new install or after upgrade):
|
|
# docker compose -f docker-compose.yml -f docker-compose.pg17.yml up -d
|
|
#
|
|
# For upgrading an existing Postgres 15 database, run utils/upgrade-pg17.sh first.
|
|
#
|
|
# Note: PG 15 and PG 17 use different postgres UIDs. If starting fresh with a
|
|
# leftover db-config volume from PG 15, you may see
|
|
# "FATAL: invalid secret key". Either remove the old volume or fix ownership.
|
|
# See: docs/guides/self-hosting/postgres-upgrade-17
|
|
|
|
services:
|
|
db:
|
|
image: supabase/postgres:17.6.1.084
|