Created
October 27, 2017 20:41
-
-
Save rockdog/19be673fb1d40d498e64e71fb441d335 to your computer and use it in GitHub Desktop.
Drupal Compose Example
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
version: '3' | |
services: | |
web: | |
image: drupal:8.4-apache | |
volumes: | |
- drupal-modules:/var/www/html/modules | |
- drupal-profiles:/var/www/html/profiles | |
- drupal-themes:/var/www/html/themes | |
ports: | |
- 8080:80 | |
db: | |
image: postgres:9.6 | |
environment: | |
POSTGRES_USER: drupal | |
POSTGRES_PASSWORD: s3cret | |
POSTGRES_DB: drupal | |
PGDATA: /var/lib/postgresql/data/pgdata | |
volumes: | |
- pg-data:/var/lib/postgresql/data/pgdata | |
volumes: | |
drupal-modules: | |
drupal-profiles: | |
drupal-themes: | |
pg-data: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment