2017 © Pedro Peláez
 

project drucker

Docker + drupal composer stack

image

abesiyo/drucker

Docker + drupal composer stack

  • Friday, February 16, 2018
  • by abesiyo
  • Repository
  • 2 Watchers
  • 1 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

Docker NGINX compose

Introduction

Docker compose kick-starting set., (*1)

Set up

  • NGINX: Latest from docker hub.
  • PHP 7-fpm: Optimized version 7.1.10
  • Percona: Version 5.7

Running the project

Get the project with composer: composer create-project abesiyo/drucker, (*2)

Uncomment the last 3 lines of the settings.php to include the local.settings.php with the docker configuration., (*3)

Before running docker, you can do some changes on .env to fit the configuration to your project., (*4)

Run docker compose docker-compose up -d, (*5)

If you have the domain in your hosts file, you should be able to hit the site on https://vm.localhost/, (*6)

Other useful commands

Stop docker stack docker-compose stop, (*7)

Destroy the whole docker stack. This also delete the database. docker-compose down, (*8)

The Versions