diff --git a/docker-compose-ci.yml b/docker-compose-ci.yml index 4a684b7b..dc4afc2b 100644 --- a/docker-compose-ci.yml +++ b/docker-compose-ci.yml @@ -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 diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 68c98e80..98da16c8 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -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: diff --git a/docker/gotrue.Dockerfile b/docker/gotrue.Dockerfile index 10aa1b78..4831b37f 100644 --- a/docker/gotrue.Dockerfile +++ b/docker/gotrue.Dockerfile @@ -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