forked from goalgorilla/drupal_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
83 lines (76 loc) · 1.64 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
version: "2"
services:
web:
image: goalgorilla/open_social_docker:dev
volumes:
- ./:/var/www
links:
- db
- mailcatcher
environment:
- VIRTUAL_HOST=social.dev
- DRUPAL_SETTINGS=development
ports:
- "80"
network_mode: "bridge"
container_name: social_web
db:
image: mysql:5.6
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=social
volumes:
- db_data:/var/lib/mysql
ports:
- "3307:3306"
network_mode: "bridge"
container_name: social_db
command: mysqld --max_allowed_packet=16M
mailcatcher:
image: schickling/mailcatcher
environment:
- VIRTUAL_HOST=mailcatcher.social.dev
- VIRTUAL_PORT=1080
ports:
- "1080"
network_mode: "bridge"
container_name: social_mailcatcher
selenium:
image: selenium/standalone-firefox-debug:2.48.2
volumes:
- ./html/profiles/contrib/social/tests/behat/features/files/:/files
links:
- web:web
ports:
- "4444"
- "5900"
cap_add:
- NET_ADMIN
- NET_RAW
network_mode: "bridge"
container_name: social_selenium
behat:
image: goalgorilla/open_social_docker:dev
volumes:
- ./:/var/www
links:
- web:web
- db:db
- selenium:selenium
environment:
- DRUPAL_SETTINGS=development
network_mode: "bridge"
container_name: social_behat
cron:
image: goalgorilla/open_social_docker:cron
volumes:
- ./:/var/www
links:
- db
- mailcatcher
environment:
- DRUPAL_SETTINGS=development
network_mode: "bridge"
container_name: social_cron
volumes:
db_data: