adaptive / docker-drupal

Drupal 7.x with SQLite on Nginx, with SSH access for drush

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-drupal

Drupal 7.x with SQLite on Nginx, with SSH access for drush

Why

I'm just getting started with Drupal, so I wanted an easily movable and customizable container for installations.

Rather than depend on MySQL, this Docker config uses SQLite for the Drupal install. It's perfect for small, low-traffic installs and test environments.

Build

In a clone of this repo:

docker build -t drupal .

Use

This image exposes port 80 for web traffic and port 22 for optional SSH access.

To use:

docker run -d -p 80 -p 22 -t drupal

If you don't need SSH access (you usually do to upload libraries and reset premissions on settings.php), just omit -p 22

About

Drupal 7.x with SQLite on Nginx, with SSH access for drush

License:Apache License 2.0