forked from goalgorilla/drupal_social
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-travis.yml
69 lines (63 loc) · 1.45 KB
/
docker-compose-travis.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
version: "2"
services:
web_scripts:
build: docker_build/drupal8/travis
volumes:
- ./public_html:/var/www/html
- ./dev-scripts/:/root/dev-scripts
- ./docker_build/drupal8/travis/:/root/travis
- ./test-results/:/root/test-results
environment:
- DRUPAL_SETTINGS=production
network_mode: "bridge"
web:
image: goalgorilla/drupal_social
volumes:
- ./public_html:/var/www/html
- ./dev-scripts/:/root/dev-scripts
links:
- db:db
environment:
- DRUPAL_SETTINGS=production
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"
selenium:
image: selenium/standalone-firefox: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/travis
container_name: social_behat
volumes:
- ./public_html/:/var/www/html
- ./dev-scripts/:/root/dev-scripts
- ./public_html/profiles/social/tests/behat/:/root/behat
- ./docker_build/drupal8/travis/:/root/travis
links:
- web:web
- db:db
- selenium:selenium
environment:
- DRUPAL_SETTINGS=production
network_mode: "bridge"
volumes:
db_data: