-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (57 loc) · 1.62 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
version: '2'
services:
db:
image: mysql:5.7
container_name: devspace-db
restart: always
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: devspaceint
MYSQL_USER: admin
MYSQL_PASSWORD: password
volumes:
- db-data:/var/lib/mysql
- ./db-dump/devspace-db-sanitized.sql.gz:/docker-entrypoint-initdb.d/devspace-db-sanitized.sql.gz
drupal:
build: drupal
image: ipeinado/devspace-drupal:v0.0
container_name: devspace-drupal
volumes:
- ./site:/var/www/html
# - ./site/config/settings.php:/var/www/html/gpii.net/web/sites/developerspace.gpii.net/
links:
- db:devspace-db
- solr:devspace-solr
# command: /bin/bash -c "mkdir /var/wwww/html/gpii.net/web/sites/default/ && ln -s /var/wwww/html/gpii.net/web/sites/developerspace.gpii.net /var/wwww/html/gpii.net/web/sites/default"
ports:
- "8888:80"
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
links:
- db
ports:
- "8080:80"
environment:
- PMA_ARBITRARY=1
solr:
build: solr-5.4.1/ # drupal V7 only supports versions lower than 5.5
container_name: devspace-solr
ports:
- "8983:8983"
gulp:
build: gulp/
container_name: devspace-gulp
links:
- drupal:devspace-drupal
volumes:
- ./site/gpii.net/web/sites/all/themes:/usr/src/themes
working_dir: /usr/src/themes/gpii_devspace
# UNCOMMENT THE ENTRY POINT THE FIRST TIME YOU BUILD AND START THE CONTAINERS
# entrypoint: npm install
command:
- npm install; gulp
volumes:
db-data: