Skip to content

Commit 0daa68e

Browse files
committed
2 parents 79e9d7f + 124e63d commit 0daa68e

File tree

3 files changed

+42
-2
lines changed

3 files changed

+42
-2
lines changed

docs/knowledge-base/server/openssh.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,14 @@ These settings need to be configured manually before running the Coolify install
2525
PubkeyAuthentication yes
2626
```
2727
::: info Note
28-
`PermitRootLogin` can be set to `yes`, `without-password`, or `prohibit-password`. We recommend `prohibit-password` for better security.
28+
The `PermitRootLogin` option can be set to `yes`, `without-password`, or `prohibit-password`. For enhanced security, we recommend using `prohibit-password`.
2929
:::
3030

31-
2. Restart SSH Service
31+
::: warning Caution!
32+
Make sure to add your SSH keys to the `~/.ssh/authorized_keys` file before setting `PermitRootLogin` to `prohibit-password`, otherwise you may lock yourself out of the server.
33+
:::
34+
35+
1. Restart SSH Service
3236

3337
SystemD:
3438
```bash
22.6 KB
Loading

docs/services/supabase.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,42 @@ The open source Firebase alternative.
1717

1818
You can find your anonymous key in the **Environment Variables** area under **SERVICE_SUPABASEANON_KEY**.
1919

20+
## Public Port Access
21+
22+
::: warning NOTE:
23+
There is a bug with making database publicly accessible. This bug will be fixed soon. In the meantime, you can use the following workaround:
24+
:::
25+
26+
Set **Supabase Db** to public
27+
28+
<ZoomableImage src="/docs/images/services/supabase-db-fix.webp" />
29+
30+
Then
31+
32+
Go to the **General** tab then **Edit Compose File**
33+
34+
Then add this line
35+
`ports:
36+
- ${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}`
37+
38+
To
39+
```yaml
40+
supabase-db:
41+
image: 'supabase/postgres:15.6.1.146'
42+
healthcheck:
43+
test: 'pg_isready -U postgres -h 127.0.0.1'
44+
interval: 5s
45+
timeout: 5s
46+
retries: 10
47+
depends_on:
48+
supabase-vector:
49+
condition: service_healthy
50+
ports:
51+
- ${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}
52+
```
53+
54+
And Restart
55+
2056
## Links
2157
2258
- [Official Website ›](https://supabase.io)

0 commit comments

Comments
 (0)