This commit is contained in:
Oliver Davies 2023-04-06 14:07:08 +01:00
parent 63bf55b978
commit 8b18e05fbc
25 changed files with 1042 additions and 1 deletions

View file

@ -0,0 +1,46 @@
name: docker-example-drupal
language: php
type: drupal-project
web:
type: nginx
database:
type: mariadb
version: 10
php:
version: 8.1-fpm-bullseye
phpcs:
standard: Drupal,DrupalPractice
phpstan:
level: max
drupal:
docroot: web
docker-compose:
services:
database: ~
php:
build:
target: build
dockerfile:
stages:
build:
extends: base
packages:
- git
- libpng-dev
- libzip-dev
- mariadb-client
- unzip
extensions:
install:
- gd
- pdo_mysql
- zip
commands:
- composer validate --strict
- composer install