forked from DevinciHQ/drude
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
92 lines (86 loc) · 2.73 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# Docker and Docker Compose based environment for Drupal.
# See https://github.com/blinkreaction/docker-fig-drupal for more information and documentation.
# Web node
web:
hostname: web
image: blinkreaction/drupal-apache-php:2.2-5.5
ports:
- "80:80"
- "443:443"
# Use IP based mapping when working with multiple projects. See docs (^^) for more details.
#- 192.168.10.10:80:80
#- 192.168.10.10:443:443
volumes:
# PHP configuration overrides
- "./.docker/etc/php5/php.ini:/etc/php5/fpm/conf.d/z_php.ini"
# Project root folder mapping
- &project_root ".:/var/www"
links:
- db
# Uncomment this and the memcached service definition below to start using memcached.
#- memcached
# DB node
db:
hostname: db
image: blinkreaction/mysql:5.5
ports:
- "3306:3306"
# Use IP based mapping when working with multiple projects. See docs (^^) for more details.
#- 192.168.10.10:3306:3306
# DB configuration
environment:
- MYSQL_ROOT_PASSWORD=admin123
- MYSQL_USER=drupal
- MYSQL_PASSWORD=123
- MYSQL_DATABASE=drupal
volumes:
# MySQL configuration overrides
- "./.docker/etc/mysql/my.cnf:/etc/mysql/conf.d/z_my.cnf"
# Permanent DB data storage
- /var/lib/mysql
# CLI node
# Used for all console commands and tools.
cli:
hostname: cli
image: blinkreaction/drupal-cli
volumes:
# PHP configuration overrides
- "./.docker/etc/php5/php-cli.ini:/etc/php5/cli/conf.d/z_php.ini"
# Project root folder mapping
- *project_root
# Host SSH keys mapping. Uncomment one of the lines below based on your setup.
- /.ssh:/.ssh # boot2docker-vagrant
#- ~/.ssh:/.ssh # Linux
links:
- db
- web
# Uncomment this and the browser service definition below to start using selenium2.
#- browser
# Memcached node
# Uncomment the service definition section below and the link in the web service above to start using memcached.
# memcached:
# hostname: memcached
# image: memcached
# environment:
# # Memcached memory limit in megabytes
# - MEMCACHED_MEMORY_LIMIT=128
# ngrok node
# Uncomment the service definition section below to start using ngrok for sharing your local web server with the world.
# share:
# hostname: share
# image: fnichol/ngrok
# ports:
# - "4040:4040"
# # Use IP based mapping when working with multiple projects. See docs (^^) for more details.
# #- 192.168.10.10:4040:4040
# links:
# - web:http
# selenium2 node
# Uncomment the service definition section below and the link in the web service above to start using selenium2 driver for Behat tests requiring JS support.
# browser:
# hostname: browser
# image: selenium/standalone-chrome
# links:
# - web
# ports:
# - "4444:4444"