Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

use the FILE_SIZE_LIMIT variable in the docker-compose

Lio Younge7c397fa0048
diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml
index 74ee46f08e3..e9c9c06b148 100644
--- a/docker/docker-compose.yml
+++ b/docker/docker-compose.yml
@@ -94,7 +94,7 @@ services:
PGRST_JWT_SECRET: ${JWT_SECRET}
DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@db:${POSTGRES_PORT}/postgres
PGOPTIONS: "-c search_path=storage"
- FILE_SIZE_LIMIT: 52428800
+ FILE_SIZE_LIMIT: ${FILE_SIZE_LIMIT}
REGION: ${STORAGE_REGION} # region where your bucket is located
GLOBAL_S3_BUCKET: ${STORAGE_S3_BUCKET} # name of s3 bucket where you want to store objects
# AWS_ACCESS_KEY_ID: replace-with-your-aws-key
@@ -115,4 +115,4 @@ services:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
- POSTGRES_PORT: ${POSTGRES_PORT}
\ No newline at end of file
+ POSTGRES_PORT: ${POSTGRES_PORT}