Skip to content

Instantly share code, notes, and snippets.

@samueljon
Created April 21, 2016 22:14
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 samueljon/9bc85de77c66553e81c4e77fa453eb55 to your computer and use it in GitHub Desktop.
Save samueljon/9bc85de77c66553e81c4e77fa453eb55 to your computer and use it in GitHub Desktop.
nginx:
image: samueljon/docker-nginx-drupal:develop
ports:
- "8000:80"
- "4430:443"
links:
- db
- php
volumes:
- webroot:/webroot
php:
image: samueljon/docker-php-drupal:develop
#image: php:7-fpm
#image: php7test:latest
ports:
- "9000:9000"
links:
- db
# - memcached
#- elasticsearch
volumes:
- webroot:/webroot
#web:
# build: .
# command: /start.sh
# ports:
# - "8000:80"
# links:
# - db
# #- memcached
# #- elasticsearch
# volumes:
# - .:/code
db:
image: mysql:5.7
environment:
MYSQL_DATABASE: drupal
MYSQL_ROOT_PASSWORD: supersecret
ports:
- "33067:3306"
#memcached:
# image: memcached:latest
#elasticsearch:
# image: elasticsearch:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment