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

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

Drupal 7.x with SQLite on Nginx, with SSH access for drush
https://github.com/adaptive/docker-drupal

Last synced: 10 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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`