Skip to content

Commit

Permalink
feat: increase upload size locally and in review apps through custom …
Browse files Browse the repository at this point in the history
…php.ini (#6mq6d8)
  • Loading branch information
matzeeable committed Jul 15, 2020
1 parent 1212af8 commit 831ca2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions devops/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ services:
- ../scripts:/scripts
# Allow symlinking for composer "path" repositories
- ../../packages:/var/www/html/wp-content/packages
- ../scripts/custom-php.ini:/usr/local/etc/php/conf.d/custom-php.ini
restart: on-failure
depends_on:
- mysql
Expand Down
2 changes: 2 additions & 0 deletions devops/scripts/custom-php.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
upload_max_filesize = 64M
post_max_size = 64M
1 change: 1 addition & 0 deletions docs/usage/folder-structure/root.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ Don't give up too early, because it can take a while until you find your way in
- 📁 `scripts` Used in Docker containers ([mounted](https://docs.docker.com/compose/compose-file/#volumes))
- 📄 `container-wordpress-cli-entrypoint.sh` Extended [entrypoint](https://docs.docker.com/compose/compose-file/#entrypoint) for `wordpress-cli` service
- 📄 `container-wordpress-command.sh` [Command](https://docs.docker.com/compose/compose-file/#command) for `wordpress` service
- 📄 `custom-php.ini` Custom PHP [configuration file](https://www.php.net/manual/en/configuration.file.php) for `wordpress` service
- 📄 `e2e-tests-autologin-plugin.php` Micro-plugin for automatic login via URL in WordPress for E2E tests
- 📄 `lerna-ready-ci.sh` Make `lerna` work in GitLab CI environment
- 📄 `purge-ci.sh` Purge Socker resources for E2E tests and Review Apps in CI/CD
Expand Down

0 comments on commit 831ca2d

Please sign in to comment.