-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Kenneth Frantzen
committed
Oct 19, 2018
1 parent
b421584
commit 3de5495
Showing
4 changed files
with
8,825 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.