-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yml
51 lines (51 loc) · 1.16 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
version: '2'
services:
web:
# Needs to be changed
ports:
- "8088:80"
- "2228:22"
environment:
- PLATFORM=drupal
image: citrussolutions/docker-php
volumes:
- .:/wwwroot:Z
# TODO: Should we use this?
# - logvolume01:/var/log
external_links:
- mariadb:mysql
- mailhog:mailhog
links:
- redis
- solr
- elasticsearch
depends_on:
- redis
- solr
- elasticsearch
network_mode: bridge
build:
context: https://github.com/CitrusSolutions/docker-php.git#stable
solr:
# Needs to be changed
ports:
- "8988:8983"
image: makuk66/docker-solr:4.10.4
network_mode: bridge
# elasticsearch:
# # Needs to be changed
# ports:
# - "9208:9200"
# image: elasticsearch:2
# network_mode: bridge
# command:
# - elasticsearch
# - -Dhttp.cors.enabled=true
# - -Dhttp.cors.allow-origin=*
# - -Dhttp.cors.allow-methods=OPTIONS,HEAD,GET,POST,PUT,DELETE
# - -Dhttp.cors.allow-headers=X-Requested-With,X-Auth-Token,Content-Type,Content-Length
redis:
image: redis
network_mode: bridge
volumes:
logvolume01: {}