Skip to content

Commit 813eeaa

Browse files
committed
🌑 Disable account creation in cloud
1 parent ebf14e4 commit 813eeaa

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

Dockerfile.postgres

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,6 @@
11
FROM postgres:17
22

3-
# Install build dependencies
3+
# Install required extensions
44
RUN apt-get update && apt-get install -y \
5-
build-essential \
6-
git \
7-
postgresql-server-dev-17 \
8-
&& rm -rf /var/lib/apt/lists/*
9-
10-
# Clone and install pgvector
11-
RUN git clone --branch v0.5.1 https://github.com/pgvector/pgvector.git \
12-
&& cd pgvector \
13-
&& make \
14-
&& make install
15-
16-
# Cleanup
17-
RUN rm -rf pgvector
5+
postgresql-17-pgvector \
6+
&& rm -rf /var/lib/apt/lists/*

config/runtime.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ if config_env() == :prod and not self_hosted do
264264
]
265265

266266
config :sequin, :features,
267-
account_self_signup: :enabled,
267+
account_self_signup: :disabled,
268268
function_transforms: function_transforms
269269

270270
config :sequin, :koala, public_key: "pk_ec2e6140b3d56f5eb1735350eb20e92b8002"

docker-compose.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: sequin-dev
33
services:
44
postgres:
55
profiles: [databases]
6+
platform: linux/arm64
67
build:
78
context: .
89
dockerfile: Dockerfile.postgres

0 commit comments

Comments
 (0)