45 lines
627 B
YAML
45 lines
627 B
YAML
name: docker-example-drupal
|
|
language: php
|
|
type: drupal
|
|
|
|
web:
|
|
type: nginx
|
|
|
|
database:
|
|
type: mariadb
|
|
version: 10
|
|
|
|
php:
|
|
version: 8.2-fpm-bullseye
|
|
phpcs:
|
|
paths:
|
|
- web/modules/custom
|
|
standards:
|
|
- Drupal
|
|
- DrupalPractice
|
|
phpstan:
|
|
level: max
|
|
paths:
|
|
- web/modules/custom
|
|
|
|
drupal:
|
|
docroot: web
|
|
|
|
docker-compose:
|
|
services:
|
|
- database
|
|
- php
|
|
- web
|
|
|
|
dockerfile:
|
|
stages:
|
|
build:
|
|
commands:
|
|
- composer validate
|
|
- composer install
|
|
|
|
experimental:
|
|
createGitHubActionsConfiguration: true
|
|
runGitHooksBeforePush: true
|
|
useNewDatabaseCredentials: true
|