Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Frantzen committed Oct 19, 2018
1 parent b421584 commit 3de5495
Show file tree
Hide file tree
Showing 4 changed files with 8,825 additions and 0 deletions.
35 changes: 35 additions & 0 deletions drupal/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Drupal with PostgreSQL
#
# Access via "http://localhost:8080"
# (or "http://$(docker-machine ip):8080" if using docker-machine)
#
# During initial Drupal setup,
# Database type: PostgreSQL
# Database name: postgres
# Database username: postgres
# Database password: example
# ADVANCED OPTIONS; Database host: postgres

version: '3.1'

services:

drupal:
image: drupal:8-apache
ports:
- 8080:80
volumes:
- /var/www/html/modules
- /var/www/html/profiles
- /var/www/html/themes
# this takes advantage of the feature in Docker that a new anonymous
# volume (which is what we're creating here) will be initialized with the
# existing content of the image at the same location
- /var/www/html/sites
restart: always

postgres:
image: postgres:10
environment:
POSTGRES_PASSWORD: example
restart: always
Loading

0 comments on commit 3de5495

Please sign in to comment.