Skip to content

Instantly share code, notes, and snippets.

@juanpabloprado
Created July 9, 2019 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juanpabloprado/8833a7ba82a559dc7e9a396d0acaca4a to your computer and use it in GitHub Desktop.
Save juanpabloprado/8833a7ba82a559dc7e9a396d0acaca4a to your computer and use it in GitHub Desktop.
Drupal with Postgres docker-compose for local development
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