This repository was archived by the owner on Jan 28, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
130 lines (119 loc) · 2.75 KB
/
docker-compose.yml
File metadata and controls
130 lines (119 loc) · 2.75 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
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
# Docker Compose (v2)
version: "2"
services:
web:
build:
context: docker/images/dev
args:
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
environment:
- DRUPAL_SETTINGS=development
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
volumes:
- ./:/var/www
depends_on:
- postgres
ports:
- "9000"
container_name: siteopendata_web
db:
image: mysql:5.6
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_DATABASE=wxt
volumes:
- db_data:/var/lib/mysql
ports:
- "3308:3306"
container_name: siteopendata_db
command: mysqld --max_allowed_packet=32M
postgres:
image: postgres:9.5-alpine
environment:
- POSTGRES_DB=od
- POSTGRES_USER=od
- POSTGRES_PASSWORD=od
volumes:
- db_data:/var/lib/postgresql
- ./files_private/od:/database/
ports:
- "5432:5432"
container_name: siteopendata_postgres
nginx:
image: nginx:alpine
volumes:
- ./html:/var/www/html
- ./docker/conf/nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- '80:80'
depends_on:
- web
restart: always
container_name: siteopendata_nginx
cron:
build:
context: docker/images/cron
args:
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
environment:
- DRUPAL_SETTINGS=development
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTP_PROXY}
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTP_PROXY}
volumes:
- ./:/var/www
depends_on:
- postgres
- web
container_name: siteopendata_cron
hub:
image: drupalcomposer/selenium:hub
ports:
- "4444:4444"
depends_on:
- postgres
- web
container_name: siteopendata_hub
firefox:
image: drupalcomposer/selenium:node-firefox
depends_on:
- postgres
- web
- hub
container_name: siteopendata_firefox
mailhog:
image: mailhog/mailhog
hostname: mailhog
ports:
- '1025:1025'
- '8025:8025'
container_name: siteopendata_mailhog
solr:
image: solr:6-alpine
hostname: solr
ports:
- "8983:8983"
volumes:
- ./docker/conf/solr/drupal:/opt/solr/server/solr/configsets/drupal/conf
- ./files_private/mycores:/opt/solr/server/solr/mycores
entrypoint:
- docker-entrypoint.sh
- solr-create
- -c
- drupal
- -d
- /opt/solr/server/solr/configsets/drupal
container_name: siteopendata_solr
volumes:
db_data:
driver: local