chore: update gotrue version for ci and dev

This commit is contained in:
Zack Fu Zi Xiang 2024-08-26 12:10:57 +08:00
parent e91dee5632
commit 0bc92bb739
No known key found for this signature in database
3 changed files with 3 additions and 9 deletions

View File

@ -50,10 +50,7 @@ services:
gotrue: gotrue:
restart: on-failure restart: on-failure
build: image: supabase/gotrue:v2.159.1
context: .
dockerfile: docker/gotrue.Dockerfile
image: appflowyinc/gotrue:${GOTRUE_VERSION:-latest}
environment: environment:
# There are a lot of options to configure GoTrue. You can reference the example config: # There are a lot of options to configure GoTrue. You can reference the example config:
# https://github.com/supabase/gotrue/blob/master/example.env # https://github.com/supabase/gotrue/blob/master/example.env

View File

@ -45,10 +45,7 @@ services:
gotrue: gotrue:
restart: on-failure restart: on-failure
build: image: supabase/gotrue:v2.159.1
context: .
dockerfile: docker/gotrue.Dockerfile
image: appflowyinc/gotrue:${GOTRUE_VERSION:-latest}
depends_on: depends_on:
- postgres - postgres
environment: environment:

View File

@ -1,6 +1,6 @@
FROM golang as base FROM golang as base
WORKDIR /go/src/supabase WORKDIR /go/src/supabase
RUN git clone https://github.com/supabase/gotrue.git --depth 1 --branch v2.159.0 RUN git clone https://github.com/supabase/gotrue.git --depth 1 --branch v2.117.0
WORKDIR /go/src/supabase/gotrue WORKDIR /go/src/supabase/gotrue
COPY docker/gotrue.patch . COPY docker/gotrue.patch .
RUN git apply gotrue.patch RUN git apply gotrue.patch