diff --git a/.github/workflows/reusable-e2e-tests-run.yml b/.github/workflows/reusable-e2e-tests-run.yml index 3ccfb2f35d..122f2a33ea 100644 --- a/.github/workflows/reusable-e2e-tests-run.yml +++ b/.github/workflows/reusable-e2e-tests-run.yml @@ -12,6 +12,8 @@ jobs: name: 'Tests: End-to-end' runs-on: ubuntu-latest timeout-minutes: 20 + env: + DB_CPU_LIMIT: 4 strategy: fail-fast: false matrix: diff --git a/docker-compose.yml b/docker-compose.yml index 28d786a5b6..2f8460c95d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -164,6 +164,11 @@ services: - target: 5432 published: 5432 protocol: tcp + deploy: + resources: + limits: + memory: ${DB_MEMORY_LIMIT:-128G} + cpus: ${DB_CPU_LIMIT:-8} mail: image: maildev/maildev