diff --git a/docker/Dockerfile b/docker/Dockerfile index a132b6a8d..0b80b6054 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -38,7 +38,8 @@ ENV PGRST_DB_URI= \ PGRST_MAX_ROWS= \ PGRST_PRE_REQUEST= \ PGRST_ROLE_CLAIM_KEY=".role" \ - PGRST_ROOT_SPEC= + PGRST_ROOT_SPEC= \ + PGRST_RAW_MEDIA_TYPES= RUN groupadd -g 1000 postgrest && \ useradd -r -u 1000 -g postgrest postgrest && \ diff --git a/docker/postgrest.conf b/docker/postgrest.conf index 3e12442a1..faf8af57f 100644 --- a/docker/postgrest.conf +++ b/docker/postgrest.conf @@ -16,3 +16,4 @@ role-claim-key = "$(PGRST_ROLE_CLAIM_KEY)" max-rows = "$(PGRST_MAX_ROWS)" pre-request = "$(PGRST_PRE_REQUEST)" root-spec = "$(PGRST_ROOT_SPEC)" +raw-media-types = "$(PGRST_RAW_MEDIA_TYPES)"