Add raw-media-types config option to Docker
This commit is contained in:
committed by
Steve Chávez
parent
e7544687d1
commit
312e295a47
+2
-1
@@ -38,7 +38,8 @@ ENV PGRST_DB_URI= \
|
|||||||
PGRST_MAX_ROWS= \
|
PGRST_MAX_ROWS= \
|
||||||
PGRST_PRE_REQUEST= \
|
PGRST_PRE_REQUEST= \
|
||||||
PGRST_ROLE_CLAIM_KEY=".role" \
|
PGRST_ROLE_CLAIM_KEY=".role" \
|
||||||
PGRST_ROOT_SPEC=
|
PGRST_ROOT_SPEC= \
|
||||||
|
PGRST_RAW_MEDIA_TYPES=
|
||||||
|
|
||||||
RUN groupadd -g 1000 postgrest && \
|
RUN groupadd -g 1000 postgrest && \
|
||||||
useradd -r -u 1000 -g postgrest postgrest && \
|
useradd -r -u 1000 -g postgrest postgrest && \
|
||||||
|
|||||||
@@ -16,3 +16,5 @@ role-claim-key = "$(PGRST_ROLE_CLAIM_KEY)"
|
|||||||
max-rows = "$(PGRST_MAX_ROWS)"
|
max-rows = "$(PGRST_MAX_ROWS)"
|
||||||
pre-request = "$(PGRST_PRE_REQUEST)"
|
pre-request = "$(PGRST_PRE_REQUEST)"
|
||||||
root-spec = "$(PGRST_ROOT_SPEC)"
|
root-spec = "$(PGRST_ROOT_SPEC)"
|
||||||
|
|
||||||
|
raw-media-types = "$(PGRST_RAW_MEDIA_TYPES)"
|
||||||
|
|||||||
Reference in New Issue
Block a user