Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

chore: add a nofile limit for supavisor in smoke test (#44582)

Andrey A.0950b99bf0b8
diff --git a/.github/workflows/self-host-tests-smoke.yml b/.github/workflows/self-host-tests-smoke.yml
index 49abfeb51d2..9f3782ed5f4 100644
--- a/.github/workflows/self-host-tests-smoke.yml
+++ b/.github/workflows/self-host-tests-smoke.yml
@@ -24,5 +24,11 @@ jobs:
sparse-checkout: |
docker/
- name: Run docker-compose up
+ shell: bash
# Ensure all services can be started and healthy with default config
- run: cd docker && cp .env.example .env && docker compose up --wait --wait-timeout 180
+ run: |
+ set -euo pipefail
+ cd docker
+ cp .env.example .env
+ yq -i '.services.supavisor.environment.RLIMIT_NOFILE=1024' docker-compose.yml
+ docker compose up --wait --wait-timeout 180