Initial import
This commit is contained in:
commit
560aca113c
|
@ -0,0 +1,18 @@
|
||||||
|
FROM drupal:9
|
||||||
|
|
||||||
|
RUN apt update && apt install -y libpng-dev zlib1g-dev libicu-dev libpq-dev libsodium-dev libzip-dev
|
||||||
|
|
||||||
|
RUN docker-php-ext-install gd intl opcache pdo_mysql pdo_pgsql sodium zip mysqli
|
||||||
|
|
||||||
|
RUN docker-php-ext-enable gd intl opcache pdo_mysql pdo_pgsql sodium zip mysqli
|
||||||
|
|
||||||
|
ENV COMPOSER_COMPILE=all
|
||||||
|
|
||||||
|
RUN composer config --no-plugins allow-plugins.civicrm/civicrm-asset-plugin true && \
|
||||||
|
composer config --no-plugins allow-plugins.civicrm/composer-downloads-plugin true && \
|
||||||
|
composer config --no-plugins allow-plugins.cweagans/composer-patches true && \
|
||||||
|
composer config --no-plugins allow-plugins.civicrm/composer-compile-plugin true && \
|
||||||
|
composer config extra.enable-patching true && \
|
||||||
|
composer config minimum-stability dev && \
|
||||||
|
composer require civicrm/civicrm-core:'~5.42' civicrm/civicrm-packages:'~5.42' civicrm/civicrm-drupal-8:'~5.42' && \
|
||||||
|
chmod u+w /opt/drupal/web/sites/default/
|
|
@ -0,0 +1,31 @@
|
||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
app:
|
||||||
|
image: git.coopcloud.tech/coop-cloud-chaos-patchs/drupal-civicrm:latest
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
volumes:
|
||||||
|
- "data:/opt/drupal/web/sites/"
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: "mariadb:10.8"
|
||||||
|
volumes:
|
||||||
|
- "mariadb:/var/lib/mysql"
|
||||||
|
networks:
|
||||||
|
- backend
|
||||||
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=drupal
|
||||||
|
- MYSQL_DATABASE=drupal
|
||||||
|
- MYSQL_USER=drupal
|
||||||
|
- MYSQL_PASSWORD=drupal
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
data:
|
||||||
|
mariadb:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
backend:
|
Loading…
Reference in New Issue