File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
ansible/files/postgresql_config Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -21,5 +21,9 @@ RestartSec=5
21
21
OOMScoreAdjust=-1000
22
22
EnvironmentFile=-/etc/environment.d/postgresql.env
23
23
LimitNOFILE=16384
24
+ {% if supabase_internal is defined %}
25
+ IPAddressDeny=localhost
26
+ IPAddressAllow=127.0.0.53/32
27
+ {% endif %}
24
28
[Install]
25
29
WantedBy=multi-user.target
Original file line number Diff line number Diff line change 106
106
"0000000000000000000000000000000000000000000000000000000000000000"
107
107
)
108
108
postgrest_base_conf_content = """
109
- db-uri = "postgres://authenticator:postgres@localhost:5432 /postgres?application_name=postgrest"
109
+ db-uri = "postgres://authenticator:postgres@/postgres?host=/var/run/postgresql/& application_name=postgrest"
110
110
db-schema = "public, storage, graphql_public"
111
111
db-anon-role = "anon"
112
112
jwt-secret = "my_jwt_secret_which_is_not_so_secret"
124
124
GOTRUE_API_HOST=0.0.0.0
125
125
GOTRUE_SITE_URL=
126
126
GOTRUE_DB_DRIVER=postgres
127
- GOTRUE_DB_DATABASE_URL=postgres://supabase_auth_admin@localhost /postgres?sslmode=disable
127
+ GOTRUE_DB_DATABASE_URL=postgres://supabase_auth_admin@/postgres?host=/var/run/postgresql/& sslmode=disable
128
128
GOTRUE_JWT_ADMIN_ROLES=supabase_admin,service_role
129
129
GOTRUE_JWT_AUD=authenticated
130
130
GOTRUE_JWT_SECRET=my_jwt_secret_which_is_not_so_secret
You can’t perform that action at this time.
0 commit comments