Skip to content

kevinsmaster5/drupal-docker-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drupal setup for a Docker container

Includes linked folders for database and file system

Setup

Add directories Create empty folders:

mkdir ./drupal-files ./mariadb-data

Start up Docker containers

docker compose up -d

As configured in supplied docker-compose.yml file, local environment will be available at http://localhost:8180/

Drupal management in Docker

Access container command line

docker compose exec drupal bash

You might find you have permissions issues in your drupal install. Fix it in bash by running

chown -R www-data:www-data web

Install Drupal core

From the bash prompt

composer create-project drupal/recommended-project .

References

StackEdit https://stackedit.io/app

Drupal Installation with Docker https://www.youtube.com/watch?v=kztDsxyesqM

About

A basic Drupal Docker setup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •