-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
49 lines (48 loc) · 1.18 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
version: '2.2'
name: test_services
services:
search:
image: bitnami/opensearch:2
restart: 'unless-stopped'
environment:
# settings only for development. DO NOT use in production!
- bootstrap.memory_lock=true
- 'OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m'
- 'DISABLE_INSTALL_DEMO_CONFIG=true'
- 'DISABLE_SECURITY_PLUGIN=true'
- 'discovery.type=single-node'
- 'OPENSEARCH_PLUGINS=analysis-icu'
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
mem_limit: 2g
expose:
- 9200
- 9600
ports:
- '127.0.0.1:9200:9200'
cache:
image: redis:7
restart: "unless-stopped"
read_only: true
ports:
- '127.0.0.1:6379:6379'
s3:
image: minio/minio:latest
restart: "unless-stopped"
environment:
MINIO_ROOT_USER: "tests"
MINIO_ROOT_PASSWORD: "teststests"
command: server /data --console-address :9001
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
ports:
- "127.0.0.1:19000:9000"
- "127.0.0.1:19001:9001"