Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
justserdar committed Mar 6, 2025
2 parents 79e9d7f + 124e63d commit 0daa68e
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/knowledge-base/server/openssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ These settings need to be configured manually before running the Coolify install
PubkeyAuthentication yes
```
::: info Note
`PermitRootLogin` can be set to `yes`, `without-password`, or `prohibit-password`. We recommend `prohibit-password` for better security.
The `PermitRootLogin` option can be set to `yes`, `without-password`, or `prohibit-password`. For enhanced security, we recommend using `prohibit-password`.
:::

2. Restart SSH Service
::: warning Caution!
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.
:::

1. Restart SSH Service

SystemD:
```bash
Expand Down
Binary file added docs/public/images/services/supabase-db-fix.webp
Binary file not shown.
36 changes: 36 additions & 0 deletions docs/services/supabase.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,42 @@ The open source Firebase alternative.

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

## Public Port Access

::: warning NOTE:
There is a bug with making database publicly accessible. This bug will be fixed soon. In the meantime, you can use the following workaround:
:::

Set **Supabase Db** to public

<ZoomableImage src="/docs/images/services/supabase-db-fix.webp" />

Then

Go to the **General** tab then **Edit Compose File**

Then add this line
`ports:
- ${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}`

To
```yaml
supabase-db:
image: 'supabase/postgres:15.6.1.146'
healthcheck:
test: 'pg_isready -U postgres -h 127.0.0.1'
interval: 5s
timeout: 5s
retries: 10
depends_on:
supabase-vector:
condition: service_healthy
ports:
- ${POSTGRES_PORT:-5432}:${POSTGRES_PORT:-5432}
```
And Restart
## Links
- [Official Website ›](https://supabase.io)
Expand Down

0 comments on commit 0daa68e

Please sign in to comment.