Skip to content

Commit

Permalink
Merge pull request #98 from WSMathias/update-version
Browse files Browse the repository at this point in the history
Update drupal version and docs in starterkits
  • Loading branch information
AshishThakur committed Jul 8, 2020
2 parents 9f51ff3 + dc54c25 commit b41de5e
Show file tree
Hide file tree
Showing 21 changed files with 2,051 additions and 1,117 deletions.
2 changes: 2 additions & 0 deletions starterkits/drupal8-php-fpm-apache/.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ DB_PASSWORD=drupal
DB_NAME=drupal
DB_HOST=mysql
DB_PORT=3306
XDEBUG_REMOTE_PORT=9001
HASH_SALT=j4Jno0nHUhnUiYhTFaIKMeJYC7fGA_muURCrj5LdqaFdpbvnkDFrPi4mhWBb0aw_uL21Gl8MKQ
BLACKFIRE_SERVER_ID=your_blackfire_server_id
BLACKFIRE_SERVER_TOKEN=your_blackfire_server_token
23 changes: 21 additions & 2 deletions starterkits/drupal8-php-fpm-apache/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,31 @@ Refer [Configurations](#Configurations) section for further details.
All the configurations are managed via environment variables, some of mostly used environment variables
are documented in the table below.

### Configuring project:
| Parameter | File | Variable | Default |
|:-------------:|:-------------|:------------:|:------------:|
|:--------------|:-------------|:------------:|:------------:|
| PHP version | .env | PHP_VERSION | 7.3 |
| Project name | .env | PROJECT_NAME | drupal8 |

Note: Refer .env file for other configurations.
### Configuring Runtime:

##### These values can be configure using [.env](.env) file

| Variable | Default | Parameter |
|:----------------------------|:----------------------|:-------------|
| DOC_ROOT | /app/web | Drupal root (docroot) |
| PHP_HOST | localhost | Host/Service name where php-fpm is running|
| PHP_FPM_PORT | 9000 | The port at which php-fpm is listing |
| PHP_FPM_MAX_CHILDREN | 20 | The maximum number of child processes to be created |
| PHP_FPM_START_SERVERS | 2 | The number of child processes created on startup |
| PHP_FPM_MIN_SPARE_SERVERS | 2 | The desired minimum number of idle server processes |
| PHP_FPM_MAX_SPARE_SERVERS | 10 | The desired maximum number of idle server processes |
| PHP_FPM_MAX_REQUESTS | 500 | The number of requests each child process should execute before respawning |
| PHP_MEMORY_LIMIT | 128 | PHP memory limit per script |
| XDEBUG_REMOTE_PORT | 9001 | Port on IDE is listing |
| NEW_RELIC_ENABLED | false | Enable newrelic |
| NEW_RELIC_APP_NAME | '' | Application name from newrelic website |
| NEW_RELIC_LICENSE_KEY | '' | Newrelic license key |

---
## Installing modules
Expand Down
8 changes: 4 additions & 4 deletions starterkits/drupal8-php-fpm-apache/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
],
"require": {
"composer/installers": "^1.2",
"drupal/core-composer-scaffold": "^8.8",
"drupal/core-project-message": "^8.8",
"drupal/core-recommended": "^8.8",
"drush/drush": "^9.2"
"drupal/core-composer-scaffold": "^8.9",
"drupal/core-project-message": "^8.9",
"drupal/core-recommended": "^8.9",
"drush/drush": "^10"
},
"require-dev": {
},
Expand Down

0 comments on commit b41de5e

Please sign in to comment.