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
- Host: GitHub
- URL: https://github.com/adaptive/docker-drupal
- Owner: adaptive
- License: apache-2.0
- Created: 2014-01-22T23:38:32.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-01-22T15:41:48.000Z (over 12 years ago)
- Last Synced: 2025-04-12T02:11:46.439Z (about 1 year ago)
- Language: Shell
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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`