Skip to content

Instantly share code, notes, and snippets.

@Schnitzel
Created August 2, 2016 22:33
Show Gist options
  • Save Schnitzel/c9eb4befb94b976c5b88703c9a58087f to your computer and use it in GitHub Desktop.
Save Schnitzel/c9eb4befb94b976c5b88703c9a58087f to your computer and use it in GitHub Desktop.
# Create here the Drupal site you would like
version: '2'
services:
drupal:
# Choose your URL and hostname for this Docker Container
# NEEDS to end with '.docker.amazee.io' !
# DO NOT remove the '&hostname'
hostname: &hostname changeme.net.docker.amazee.io
environment:
# If you would like to use blackfire.io, uncomment and add your server credentials:
#BLACKFIRE_SERVER_ID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
#BLACKFIRE_SERVER_TOKEN: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# APC Support is by default enabled, but in some cases it can make issues, change to 0 to disable:
APC: 1
################################################
### Do not change anything below here, unless you know what you do
VIRTUAL_HOST: *hostname
image: amazeeio/drupal:php70-basic
volumes:
- .:/var/www/drupal/public_html
volumes_from:
- container:amazeeio-ssh-agent
container_name: *hostname
network_mode: bridge
ports:
- "3306"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment