-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 918 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 918 Bytes
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
version: "2.1"
services:
#######################################
# Redis
#######################################
redis:
image: "redis:4"
#######################################
# Database (Mongo)
#######################################
mongo:
image: "mongo:3"
#######################################
# Searchengine (ElasticSearch)
#######################################
elasticsearch:
image: "elasticsearch:5"
environment:
ES_JAVA_OPTS: "-Xms256m -Xmx256m"
healthcheck:
test: "curl --silent --fail localhost:9200/_cluster/health || exit 1"
interval: 5s
timeout: 2s
retries: 15
#######################################
# Mock server (wiremock)
#######################################
wiremock:
image: "rodolpheche/wiremock:latest"
ports:
- "${MOCK_PORT:-8888}:8080"
volumes:
- ${PWD}/var/stubs:/home/wiremock