Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/adagio/drupal-docker

Drupal on Docker, for Development
https://github.com/adagio/drupal-docker

docker docker-compose drupal drupal-8

Last synced: about 1 month ago
JSON representation

Drupal on Docker, for Development

Awesome Lists containing this project

README

        

# ddd: drupal on docker, for development

## Instructions

### 1. Directories for local development

shared
├── drupal-sites
├── drupal-modules
├── drupal-themes
└── drupal-profiles

### 2. Permissions

`sudo chown -R www-data:www-data shared`

### 2. Compose

`docker-compose -f stack.yml up`

### 3. Browse to localhost:8080

http://localhost:8080

### 4. Drupal installation

Consider postgress credentials

Database type: PostgreSQL
Database name: postgres
Database username: postgres
Database password: example
Database host: postgres

source: [docker-compose file](https://hub.docker.com/r/_/drupal/)

e.g. stack.yml

### Optional. Other Database engines

After using PostgreSQL, I tried to use MySQL with no success 😞

MariaDB can be used, I had to rename the service

Postgres image is smaller 🗜️️, and configuration is faster ⚡ for development purposes