Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

deck-app/drupal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRUPAL stack

Docker-compose project with Alpine linux, Apache, MySQL and PHP. Super easy to get started and running in a few mins

Install

Using DECK

Install drupal-stack from the DECK marketplace and follow the instructions on the GUI

From terminal with Docker

git clone https://github.com/deck-app/drupal/
cd drupal

Edit .env file to change any settings before installing like php, apache, nginx, mysql versions etc

docker-compose up -d

Modifying project settings

From the DECK app, go to stack list and click on project's More > configure > Advanced configuration Follow the instructions below and restart your stack from the GUI

Edit Apache configuration

httpd.conf is located at ./apache/httpd.conf

Edit Nginx configuration

default.conf is located at ./nginx/default.conf

Editing php.in

PHP ini file is located at ./apache/php_ini/php{YOUR.PHP.VERSION}.ini or ./nginx/php_ini/php{YOUR.PHP.VERSION}.ini

Installing / removing PHP extensions

Add / remove PHP extensions from ./apache/Dockerfile-{YOUR.PHP.VERSION} or ./nginx/Dockerfile-{YOUR.PHP.VERSION}

RUN apk add --update --no-cache bash \
				curl \
				curl-dev \
				php8-intl \
				php8-openssl \
				php8-dba \
				php8-sqlite3 \

Rebuilding from terminal

You have to rebuild the docker image after you make any changes to the project configuration, use the snippet below to rebuild and restart the stack

docker-compose stop && docker-compose up --build -d

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •