-
Notifications
You must be signed in to change notification settings - Fork 17
/
docker-compose.yaml
49 lines (44 loc) · 1.15 KB
/
docker-compose.yaml
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
version: '3'
services:
php:
depends_on:
- elasticsearch
- pgsql
- mariadb-server
image: rollerworks/search-dev:php-74
volumes:
- .:/srv/www:rw
# Storage services
pgsql:
image: postgres:9.6
environment:
- POSTGRES_DB=search_tests
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- pg-data:/var/lib/postgresql/data:rw
ports:
- "55432:5432"
mariadb-server:
image: mariadb
environment:
- MYSQL_DATABASE=search_tests
- MYSQL_ROOT_PASSWORD=nope
volumes:
- my-data:/var/lib/mysql:rw
ports:
- "53306:3306"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.0
environment:
- "discovery.type=single-node"
- "xpack.security.enabled=false"
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
volumes:
- es-data:/usr/share/elasticsearch/data
ports:
- "59200:9200"
volumes:
pg-data: {}
my-data: {}
es-data: {}