Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions frameworks/cakephp/3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ env:
composer: auto
npm: auto
console: bin/cake.php
# Run after a connection change: the compiled container is built
# against the old database and answers every request with an error.
cache_command: cache clear_all

logs:
- path: logs/*.log
Expand Down Expand Up @@ -78,3 +81,6 @@ commands:
description: Drop the cached database schema
output: silent
icon: refresh

doctor:
migrate_command: migrate
6 changes: 6 additions & 0 deletions frameworks/cakephp/4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ env:
composer: auto
npm: auto
console: bin/cake.php
# Run after a connection change: the compiled container is built
# against the old database and answers every request with an error.
cache_command: cache clear_all

logs:
- path: logs/*.log
Expand Down Expand Up @@ -78,3 +81,6 @@ commands:
description: Drop the cached database schema
output: silent
icon: refresh

doctor:
migrate_command: migrate
6 changes: 6 additions & 0 deletions frameworks/cakephp/5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ env:
composer: auto
npm: auto
console: bin/cake.php
# Run after a connection change: the compiled container is built
# against the old database and answers every request with an error.
cache_command: cache clear_all

workers:
queue:
Expand Down Expand Up @@ -89,3 +92,6 @@ commands:
description: Drop the cached database schema
output: silent
icon: refresh

doctor:
migrate_command: migrate
6 changes: 6 additions & 0 deletions frameworks/codeigniter/4.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ env:
composer: auto
npm: auto
console: spark
# Run after a connection change: the compiled container is built
# against the old database and answers every request with an error.
cache_command: cache:clear

workers:
queue:
Expand Down Expand Up @@ -132,3 +135,6 @@ commands:
icon: trash
check:
composer: codeigniter4/queue

doctor:
migrate_command: migrate
69 changes: 38 additions & 31 deletions frameworks/drupal/10.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,57 @@ create: composer create-project drupal/recommended-project
php:
min: "8.1"
max: "8.4"
cli_ini:
memory_limit: 512M

detect:
- composer: drupal/core-recommended
- composer: drupal/core

env:
# A binary older than the php-vars format reads these three and behaves as it
# always has, writing constants into settings.php that Drupal ignores.
file: .env
format: dotenv
fallback_file: web/sites/default/settings.php
fallback_format: php-const
# A binary that knows the field writes the array Drupal actually reads.
app_file: web/sites/default/settings.php
app_format: php-vars
url_key: none
services:
mysql:
detect:
- key: DB_DRIVER
value_prefix: mysql
- key: database
- key: databases.default.default.driver
value_prefix: mysql
vars:
- DB_DRIVER=mysql
- DB_HOST=lerd-mysql
- DB_PORT=3306
- DB_NAME={{site}}
- DB_USER=root
- DB_PASSWORD=lerd
- databases.default.default.driver=mysql
- databases.default.default.host=lerd-mysql
- databases.default.default.port=3306
- databases.default.default.database={{site}}
- databases.default.default.username=root
- databases.default.default.password=lerd
- databases.default.default.namespace=Drupal\mysql\Driver\Database\mysql
- databases.default.default.autoload=core/modules/mysql/src/Driver/Database/mysql/
postgres:
detect:
- key: DB_DRIVER
value_prefix: pgsql
- key: database
- key: databases.default.default.driver
value_prefix: pgsql
vars:
- DB_DRIVER=pgsql
- DB_HOST=lerd-postgres
- DB_PORT=5432
- DB_NAME={{site}}
- DB_USER=postgres
- DB_PASSWORD=lerd
redis:
detect:
- key: REDIS_HOST
vars:
- REDIS_HOST=lerd-redis
- REDIS_PORT=6379
mailpit:
detect:
- key: SMTP_HOST
vars:
- SMTP_HOST=lerd-mailpit
- SMTP_PORT=1025

- databases.default.default.driver=pgsql
- databases.default.default.host=lerd-postgres
- databases.default.default.port=5432
- databases.default.default.database={{site}}
- databases.default.default.username=postgres
- databases.default.default.password=lerd
- databases.default.default.namespace=Drupal\pgsql\Driver\Database\pgsql
- databases.default.default.autoload=core/modules/pgsql/src/Driver/Database/pgsql/
composer: auto
npm: false
console: vendor/drush/drush/drush.php
# Run after a connection change: the compiled container is built
# against the old database and answers every request with an error.
cache_command: cr

workers:
cron:
Expand Down Expand Up @@ -156,3 +154,12 @@ commands:
icon: arrow-down
check:
composer: drush/drush

doctor:
migrate_command: updb

notifications:
# The entity, config and cache layers issue the repeats during an ordinary
# request, so the warning names a loop inside the framework rather than
# anything a site's own code does.
nplusone: false
69 changes: 38 additions & 31 deletions frameworks/drupal/11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,57 @@ create: composer create-project drupal/recommended-project
php:
min: "8.3"
max: "8.5"
cli_ini:
memory_limit: 512M

detect:
- composer: drupal/core-recommended
- composer: drupal/core

env:
# A binary older than the php-vars format reads these three and behaves as it
# always has, writing constants into settings.php that Drupal ignores.
file: .env
format: dotenv
fallback_file: web/sites/default/settings.php
fallback_format: php-const
# A binary that knows the field writes the array Drupal actually reads.
app_file: web/sites/default/settings.php
app_format: php-vars
url_key: none
services:
mysql:
detect:
- key: DB_DRIVER
value_prefix: mysql
- key: database
- key: databases.default.default.driver
value_prefix: mysql
vars:
- DB_DRIVER=mysql
- DB_HOST=lerd-mysql
- DB_PORT=3306
- DB_NAME={{site}}
- DB_USER=root
- DB_PASSWORD=lerd
- databases.default.default.driver=mysql
- databases.default.default.host=lerd-mysql
- databases.default.default.port=3306
- databases.default.default.database={{site}}
- databases.default.default.username=root
- databases.default.default.password=lerd
- databases.default.default.namespace=Drupal\mysql\Driver\Database\mysql
- databases.default.default.autoload=core/modules/mysql/src/Driver/Database/mysql/
postgres:
detect:
- key: DB_DRIVER
value_prefix: pgsql
- key: database
- key: databases.default.default.driver
value_prefix: pgsql
vars:
- DB_DRIVER=pgsql
- DB_HOST=lerd-postgres
- DB_PORT=5432
- DB_NAME={{site}}
- DB_USER=postgres
- DB_PASSWORD=lerd
redis:
detect:
- key: REDIS_HOST
vars:
- REDIS_HOST=lerd-redis
- REDIS_PORT=6379
mailpit:
detect:
- key: SMTP_HOST
vars:
- SMTP_HOST=lerd-mailpit
- SMTP_PORT=1025

- databases.default.default.driver=pgsql
- databases.default.default.host=lerd-postgres
- databases.default.default.port=5432
- databases.default.default.database={{site}}
- databases.default.default.username=postgres
- databases.default.default.password=lerd
- databases.default.default.namespace=Drupal\pgsql\Driver\Database\pgsql
- databases.default.default.autoload=core/modules/pgsql/src/Driver/Database/pgsql/
composer: auto
npm: false
console: vendor/drush/drush/drush.php
# Run after a connection change: the compiled container is built
# against the old database and answers every request with an error.
cache_command: cr

workers:
cron:
Expand Down Expand Up @@ -156,3 +154,12 @@ commands:
icon: arrow-down
check:
composer: drush/drush

doctor:
migrate_command: updb

notifications:
# The entity, config and cache layers issue the repeats during an ordinary
# request, so the warning names a loop inside the framework rather than
# anything a site's own code does.
nplusone: false
65 changes: 34 additions & 31 deletions frameworks/drupal/8.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,59 +7,53 @@ create: composer create-project drupal/recommended-project
php:
min: "7.2"
max: "7.4"
cli_ini:
memory_limit: 512M

detect:
- composer: drupal/core-recommended
- composer: drupal/core

env:
# A binary older than the php-vars format reads these three and behaves as it
# always has, writing constants into settings.php that Drupal ignores.
file: .env
format: dotenv
fallback_file: web/sites/default/settings.php
fallback_format: php-const
# A binary that knows the field writes the array Drupal actually reads.
app_file: web/sites/default/settings.php
app_format: php-vars
url_key: none
services:
mysql:
detect:
- key: DB_DRIVER
value_prefix: mysql
- key: database
- key: databases.default.default.driver
value_prefix: mysql
vars:
- DB_DRIVER=mysql
- DB_HOST=lerd-mysql
- DB_PORT=3306
- DB_NAME={{site}}
- DB_USER=root
- DB_PASSWORD=lerd
- databases.default.default.driver=mysql
- databases.default.default.host=lerd-mysql
- databases.default.default.port=3306
- databases.default.default.database={{site}}
- databases.default.default.username=root
- databases.default.default.password=lerd
postgres:
detect:
- key: DB_DRIVER
value_prefix: pgsql
- key: database
- key: databases.default.default.driver
value_prefix: pgsql
vars:
- DB_DRIVER=pgsql
- DB_HOST=lerd-postgres
- DB_PORT=5432
- DB_NAME={{site}}
- DB_USER=postgres
- DB_PASSWORD=lerd
redis:
detect:
- key: REDIS_HOST
vars:
- REDIS_HOST=lerd-redis
- REDIS_PORT=6379
mailpit:
detect:
- key: SMTP_HOST
vars:
- SMTP_HOST=lerd-mailpit
- SMTP_PORT=1025

- databases.default.default.driver=pgsql
- databases.default.default.host=lerd-postgres
- databases.default.default.port=5432
- databases.default.default.database={{site}}
- databases.default.default.username=postgres
- databases.default.default.password=lerd
composer: auto
npm: false
console: vendor/drush/drush/drush.php
# Run after a connection change: the compiled container is built
# against the old database and answers every request with an error.
cache_command: cr

workers:
cron:
Expand Down Expand Up @@ -156,3 +150,12 @@ commands:
icon: arrow-down
check:
composer: drush/drush

doctor:
migrate_command: updb

notifications:
# The entity, config and cache layers issue the repeats during an ordinary
# request, so the warning names a loop inside the framework rather than
# anything a site's own code does.
nplusone: false
Loading