-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
38 lines (32 loc) · 1.4 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# 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 drupalro.docker.amazee.io
environment:
# If you use https://github.com/drupal-composer/drupal-project or something similar,
# the Drupal root is not inside the Repository root, you can define in which folder
# the the Drupal Root lives
WEBROOT: web
# 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
# If you want to use stage_file_proxy, uncomment following line and add the production url of your website:
#AMAZEEIO_PRODUCTION_URL: 'http://example.com'
# 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"