forked from goalgorilla/drupal_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
87 lines (81 loc) · 1.86 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
version: "2"
services:
web:
build: docker_build/drupal8/development
volumes:
- ./public_html:/var/www/html
- ./dev-scripts/:/root/dev-scripts
links:
- db
- mailcatcher
environment:
- VIRTUAL_HOST=social.dev
- DRUPAL_SETTINGS=development
ports:
- "80"
network_mode: "bridge"
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"
mailcatcher:
image: schickling/mailcatcher
environment:
- VIRTUAL_HOST=mailcatcher.social.dev
- VIRTUAL_PORT=1080
ports:
- "1080"
network_mode: "bridge"
# Currently disabled because of rate limits.
# Enable and use the normal ssmtp.conf file to sent emails with postfix.
#mailserver:
# image: marvambass/versatile-postfix
# environment:
# - ALIASES=postmaster:root;hostmaster:root;webmaster:root
# ports:
# - "25"
# command: social.dev user:password
selenium:
image: selenium/standalone-firefox-debug:2.48.2
links:
- web:web
ports:
- "4444"
- "5900"
container_name: social_selenium
cap_add:
- NET_ADMIN
- NET_RAW
network_mode: "bridge"
behat:
build: docker_build/drupal8/development
container_name: social_behat
volumes:
- ./public_html/:/var/www/html
- ./dev-scripts/:/root/dev-scripts
- ./public_html/profiles/social/tests/behat/:/root/behat
links:
- web:web
- db:db
- selenium:selenium
environment:
- DRUPAL_SETTINGS=development
network_mode: "bridge"
cron:
build: docker_build/cron
volumes:
- ./public_html:/var/www/html
- ./dev-scripts/:/root/dev-scripts
links:
- db
environment:
- DRUPAL_SETTINGS=development
network_mode: "bridge"
volumes:
db_data: