-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·195 lines (195 loc) · 4.75 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# Configuration generated with Drupal Compose version 1.1.6
apache:
extends:
file: host.yml
service: apache
image: dockerizedrupal/apache-2.4:1.2.2
hostname: apache
ports:
- "80"
- "443"
volumes_from:
- apache-data
links:
- php
environment:
- VHOST_PROJECT_NAME=newsfeeder
- VHOST_PRIMARY_SERVICE='True'
- VHOST_SERVICE_NAME=apache
- VHOST_VERSION_FILE_URL=https://raw.githubusercontent.com/dockerizedrupal/docker-apache-2.4/master/VERSION.md
- VHOST_REPOSITORY_URL=https://hub.docker.com/r/dockerizedrupal/apache-2.4/
apache-data:
image: dockerizedrupal/apache-2.4:1.2.2
entrypoint: ["/bin/echo", "Data only container for Apache."]
hostname: apache-data
volumes:
- .:/apache/data
mysql:
image: mxr576/docker-mysql
hostname: mysql
volumes_from:
- mysql-data
environment:
- DEFAULT_DB=newsfeeder
- VHOST_PROJECT_NAME=newsfeeder
- VHOST_SERVICE_NAME=mysql
- VHOST_VERSION_FILE_URL=https://raw.githubusercontent.com/dockerizedrupal/docker-mysql/master/VERSION.md
- VHOST_REPOSITORY_URL=https://hub.docker.com/r/dockerizedrupal/mysql/
mysql-data:
image: mxr576/docker-mysql
entrypoint: ["/bin/echo", "Data only container for Mysql."]
hostname: mysql-data
volumes:
- /mysql
php:
extends:
file: host.yml
service: php
image: dockerizedrupal/php-5.6:1.2.4
hostname: php
volumes:
- ~/.ssh:/home/container/.ssh
volumes_from:
- apache-data
- php-data
links:
- mysql
- mailcatcher:smtp
- solr
- stanbol
- redis
- wce
environment:
- VHOST_PROJECT_NAME=newsfeeder
- VHOST_SERVICE_NAME=php
- VHOST_VERSION_FILE_URL=https://raw.githubusercontent.com/dockerizedrupal/docker-php-5.6/master/VERSION.md
- VHOST_REPOSITORY_URL=https://hub.docker.com/r/dockerizedrupal/php-5.6/
php-data:
image: dockerizedrupal/php-5.6:1.2.4
entrypoint: ["/bin/echo", "Data only container for PHP."]
hostname: php-data
volumes:
- /usr/local/src
mailcatcher:
image: dockerizedrupal/mailcatcher:1.1.0
hostname: mailcatcher
ports:
- "80"
- "443"
environment:
- VHOST_PROJECT_NAME=newsfeeder
- VHOST_SERVICE_NAME=mailcatcher
- VHOST_VERSION_FILE_URL=https://raw.githubusercontent.com/dockerizedrupal/docker-mailcatcher/master/VERSION.md
- VHOST_REPOSITORY_URL=https://hub.docker.com/r/dockerizedrupal/mailcatcher/
phpmyadmin:
image: dockerizedrupal/phpmyadmin:1.1.1
hostname: phpmyadmin
ports:
- "80"
- "443"
links:
- mysql
environment:
- VHOST_PROJECT_NAME=newsfeeder
- VHOST_SERVICE_NAME=phpmyadmin
- VHOST_VERSION_FILE_URL=https://raw.githubusercontent.com/dockerizedrupal/docker-phpmyadmin/master/VERSION.md
- VHOST_REPOSITORY_URL=https://hub.docker.com/r/dockerizedrupal/phpmyadmin/
jenkins:
image: mxr576/docker-jenkins
extends:
file: host.yml
service: jenkins
hostname: jenkins
ports:
- "8080:80"
- "443"
links:
- apache
- mysql
- php
- redis
- solr
- stanbol
- wce
volumes_from:
- apache-data
- jenkins-data
- php-data
cap_add:
- NET_ADMIN
environment:
SERVER_NAME: localhost
TIMEZONE: Etc/UTC
TIMEOUT: 300
PROTOCOLS: https,http
OPENVPN: Off
MYSQL: On
DRUSH: /usr/local/src/drush8/drush
SITE_PATH: /apache/data
jenkins-data:
image: mxr576/docker-jenkins
entrypoint: ["/bin/echo", "Data only container for Jenkins."]
hostname: jenkins-data
volumes:
- /jenkins
solr:
image: mxr576/apachesolr-5.x-drupal-docker
hostname: solr
environment:
- SOLR_SOLR_MEM_SIZE=512m
- PARTIAL_SEARCH_ENABLED='false'
ports:
- "8983"
volumes_from:
- solr_data
solr_data:
image: mxr576/apachesolr-5.x-drupal-docker
command: echo "Data only container for the Apache Solr container."
volumes:
- /opt/solr/server/solr/drupal/data
- /opt/solr/server/solr/drupal/conf
- /var/log/supervisor
redis:
image: mxr576/redis
hostname: redis
environment:
- REDIS_PASS=container
ports:
- "6379"
volumes_from:
- redis_data
redis_data:
image: mxr576/redis
command: echo "Data only container for the Redis container."
volumes:
- /data
- /var/log/redis
stanbol:
image: mxr576/stanbol
hostname: stanbol
environment:
- JAVA_OPTS=-Xmx1g -XX:MaxPermSize=256m
ports:
- "8080"
volumes_from:
- stanbol_data
stanbol_data:
image: mxr576/stanbol
command: echo "Data only container for the Apache Stanbol container."
volumes:
- /var/log/supervisord/
wce:
image: mxr576/wce-api
hostname: wce
environment:
- NODE_ENV=production
- NODE_LOG_LEVEL=error
ports:
- "8001"
volumes_from:
- wce_data
wce_data:
image: mxr576/wce-api
command: echo "Data only container for the WCE-API container."
volumes:
- /var/log/supervisor/