Created
July 9, 2019 01:20
-
-
Save juanpabloprado/8833a7ba82a559dc7e9a396d0acaca4a to your computer and use it in GitHub Desktop.
Drupal with Postgres docker-compose for local development
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.7" | |
services: | |
drupal: | |
image: drupal:8.7 | |
ports: | |
- 8080:80 | |
volumes: | |
- drupal-modules:/var/www/html/modules | |
- drupal-profiles:/var/www/html/profiles | |
- drupal-themes:/var/www/html/themes | |
- drupal-sites:/var/www/html/sites | |
psql: | |
image: postgres:11 | |
environment: | |
POSTGRES_PASSWORD: secret | |
volumes: | |
drupal-modules: | |
drupal-profiles: | |
drupal-themes: | |
drupal-sites: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment