forked from opendevshop/devshop
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-tests.yml
More file actions
56 lines (48 loc) · 1.55 KB
/
docker-compose-tests.yml
File metadata and controls
56 lines (48 loc) · 1.55 KB
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
version: '2'
# This compose file is just an example. Create your own to launch your own Aegir cluster
services:
devmaster:
image: aegir/hostmaster:local
ports:
- 80:80
hostname: devshop.local.computer
links:
- database
depends_on:
- database
environment:
MYSQL_ROOT_PASSWORD: strongpassword
AEGIR_MAKEFILE: https://raw.githubusercontent.com/opendevshop/devshop/1.x/build-devmaster.make
AEGIR_PROFILE: devmaster
AEGIR_VERSION: 1.x
TRAVIS: 1
AEGIR_HOSTMASTER_ROOT: /var/aegir/devmaster-1.x
XDEBUG_CONFIG: "remote_host=172.17.0.1 idekey=PHPSTORM"
PHP_IDE_CONFIG: "serverName=devshop.local.computer"
# To allow the devmaster container to launch other docker containers, we need the host's path to aegir home directory.
HOST_AEGIR_HOME: /home/jon/Projects/devshop/aegir-home
privileged: true
volumes:
- ./aegir-home:/var/aegir:z
- ./:/usr/share/devshop:z
- ./provision:/usr/share/drush/commands/provision:z
- /var/run/docker.sock:/var/run/docker.sock
database:
image: mariadb
# logging:
# driver: none
environment:
MYSQL_ROOT_PASSWORD: strongpassword
# @TODO: Remove completely once tests pass.
# command: mysqld --innodb-large-prefix --innodb-file-format=barracuda --innodb-file-per-table
# admin:
# image: phpmyadmin/phpmyadmin
# links:
# - database:db
# ports:
# - 8080:80
# selenium:
# image: selenium/standalone-chrome-debug:3.4.0-dysprosium
# ports:
# - 4444:4444
# - 5900:5900