Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 6497ddb

Browse files
authored
Merge pull request #219 from supabase/feat/list-v2
feat: list-v2 endpoint
2 parents d0e7dc2 + e3c4ad6 commit 6497ddb

File tree

12 files changed

+944
-677
lines changed

12 files changed

+944
-677
lines changed

infra/docker-compose.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# docker-compose.yml
22

3-
version: '3.6'
43
services:
54
kong:
65
container_name: supabase-kong
@@ -49,15 +48,9 @@ services:
4948
context: ./postgres
5049
ports:
5150
- 5432:5432
52-
command:
53-
- postgres
54-
- -c
55-
- wal_level=logical
51+
command: postgres -c config_file=/etc/postgresql/postgresql.conf
5652
environment:
57-
POSTGRES_DB: postgres
58-
POSTGRES_USER: postgres
5953
POSTGRES_PASSWORD: postgres
60-
POSTGRES_PORT: 5432
6154
healthcheck:
6255
test: [ "CMD-SHELL", "pg_isready" ]
6356
interval: 10s

infra/postgres/Dockerfile

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,10 @@
1-
FROM supabase/postgres:0.13.0
2-
3-
COPY 00-initial-schema.sql /docker-entrypoint-initdb.d/00-initial-schema.sql
4-
COPY auth-schema.sql /docker-entrypoint-initdb.d/01-auth-schema.sql
5-
COPY storage-schema.sql /docker-entrypoint-initdb.d/02-storage-schema.sql
1+
FROM supabase/postgres:15.8.1.044
2+
#
3+
#COPY 00-initial-schema.sql /docker-entrypoint-initdb.d/00-initial-schema.sql
4+
#COPY auth-schema.sql /docker-entrypoint-initdb.d/01-auth-schema.sql
5+
#COPY storage-schema.sql /docker-entrypoint-initdb.d/02-storage-schema.sql
66

77
# Build time defaults
8-
ARG build_POSTGRES_DB=postgres
9-
ARG build_POSTGRES_USER=postgres
10-
ARG build_POSTGRES_PASSWORD=postgres
11-
ARG build_POSTGRES_PORT=5432
128

13-
# Run time values
14-
ENV POSTGRES_DB=$build_POSTGRES_DB
15-
ENV POSTGRES_USER=$build_POSTGRES_USER
16-
ENV POSTGRES_PASSWORD=$build_POSTGRES_PASSWORD
17-
ENV POSTGRES_PORT=$build_POSTGRES_PORT
189

1910
EXPOSE 5432

infra/postgres/storage-schema.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ alter default privileges in schema storage grant all on tables to postgres, anon
55
alter default privileges in schema storage grant all on functions to postgres, anon, authenticated, service_role;
66
alter default privileges in schema storage grant all on sequences to postgres, anon, authenticated, service_role;
77

8-
DROP TABLE IF EXISTS "storage"."buckets";
98
CREATE TABLE "storage"."buckets" (
109
"id" text not NULL,
1110
"name" text NOT NULL,
@@ -17,7 +16,6 @@ CREATE TABLE "storage"."buckets" (
1716
);
1817
CREATE UNIQUE INDEX "bname" ON "storage"."buckets" USING BTREE ("name");
1918

20-
DROP TABLE IF EXISTS "storage"."objects";
2119
CREATE TABLE "storage"."objects" (
2220
"id" uuid NOT NULL DEFAULT extensions.uuid_generate_v4(),
2321
"bucket_id" text,

infra/storage/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
FROM supabase/storage-api:v1.8.2
1+
FROM supabase/storage-api:v1.19.1
22

33
RUN apk add curl --no-cache

0 commit comments

Comments
 (0)