Skip to content

Commit

Permalink
GHA: Set php memory limit in the docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
quartje committed Aug 27, 2024
1 parent ced225e commit d20a284
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-integration-webtest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
DOCKER_COMPOSE: PHP_MEMORY_LIMIT=265M docker compose -f docker-compose.yml -f docker-compose-ci.yml
DOCKER_COMPOSE: docker compose -f docker-compose.yml -f docker-compose-ci.yml
DOCKER_COMPOSE_PHP: docker compose -f docker-compose.yml -f docker-compose-ci.yml exec -T spdashboard
DOCKER_RUN_SPD_AS_WWW: docker exec --user 33:33 spdashboard-spdashboard-1

Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ include:
services:
spdashboard:
image: ghcr.io/openconext/openconext-basecontainers/php82-apache2-node20-composer2:latest
environment:
PHP_MEMORY_LIMIT: 256M
volumes:
- ../OpenConext-devconf/core/:/config
- ./:/var/www/html/
Expand Down

0 comments on commit d20a284

Please sign in to comment.