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:
restart: on-failure
build:
context: .
dockerfile: docker/gotrue.Dockerfile
image: appflowyinc/gotrue:${GOTRUE_VERSION:-latest}
image: supabase/gotrue:v2.159.1
environment:
# There are a lot of options to configure GoTrue. You can reference the example config:
# https://github.com/supabase/gotrue/blob/master/example.env

View File

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

View File

@ -1,6 +1,6 @@
FROM golang as base
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
COPY docker/gotrue.patch .
RUN git apply gotrue.patch