abesiyo/drucker

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Docker + drupal composer stack

1.1.0 2018-11-13 17:38 UTC

This package is auto-updated.

Last update: 2021-06-05 14:27:30 UTC


README

Introduction

Docker compose kick-starting set.

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

Uncomment the last 3 lines of the settings.php to include the local.settings.php with the docker configuration.

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

Run docker compose docker-compose up -d

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

Other useful commands

Stop docker stack docker-compose stop

Destroy the whole docker stack. This also delete the database. docker-compose down