feat: update gotrue revision

This commit is contained in:
Fu Zi Xiang 2023-11-24 16:00:53 +08:00
parent 3f96c6a1f3
commit d0b1c903f3
No known key found for this signature in database
3 changed files with 9 additions and 3 deletions

View File

@ -52,7 +52,9 @@ services:
gotrue: gotrue:
restart: on-failure restart: on-failure
image: supabase/gotrue:v2.117.0 build:
context: .
dockerfile: docker/gotrue.Dockerfile
depends_on: depends_on:
- postgres - postgres
environment: environment:
@ -90,5 +92,6 @@ services:
# Prometheus Metrics # Prometheus Metrics
- GOTRUE_METRICS_ENABLED=true - GOTRUE_METRICS_ENABLED=true
- GOTRUE_METRICS_EXPORTER=prometheus - GOTRUE_METRICS_EXPORTER=prometheus
- GOTRUE_EXTERNAL_SAML_ENABLED=true
ports: ports:
- 9998:9999 - 9998:9999

View File

@ -93,7 +93,9 @@ services:
gotrue: gotrue:
restart: on-failure restart: on-failure
image: supabase/gotrue:v2.117.0 build:
context: .
dockerfile: docker/gotrue.Dockerfile
depends_on: depends_on:
- postgres - postgres
environment: environment:
@ -134,6 +136,7 @@ services:
# Prometheus Metrics # Prometheus Metrics
- GOTRUE_METRICS_ENABLED=true - GOTRUE_METRICS_ENABLED=true
- GOTRUE_METRICS_EXPORTER=prometheus - GOTRUE_METRICS_EXPORTER=prometheus
- GOTRUE_EXTERNAL_SAML_ENABLED=true
ports: ports:
- 9998:9999 - 9998:9999

View File

@ -2,5 +2,5 @@ FROM golang
WORKDIR /go/src/supabase WORKDIR /go/src/supabase
RUN git clone https://github.com/supabase/gotrue.git RUN git clone https://github.com/supabase/gotrue.git
WORKDIR /go/src/supabase/gotrue WORKDIR /go/src/supabase/gotrue
RUN git checkout v2.99.0 && go install RUN git e67a10c1 && go install
CMD ["gotrue"] CMD ["gotrue"]