forked from opensearch-project/performance-analyzer-rca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (51 loc) · 1.19 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
52
53
54
55
56
57
#
# Copyright OpenSearch Contributors
# SPDX-License-Identifier: Apache-2.0
#
# Description:
# docker-compose.yml for running opensearch in docker.
#
# This file was generated from the template at templates/docker-compose.yml.j2
version: '2.1'
services:
opensearch1:
container_name: opensearch1
image: opensearch/pa-rca:3.0
mem_limit: 4g
networks:
opensearchnet:
aliases:
- opensearch
# If unset, uses empty string which Docker ignores
# Defined in tests/conftest.py to test starting with a random uid
user: ${PROCESS_UID}
ulimits:
memlock:
soft: -1
hard: -1
# DATA_VOLUME{1,2} are defined in tests/conftest.py
volumes:
- ${DATA_VOLUME1}:/usr/share/opensearch/data
opensearch2:
container_name: opensearch2
environment:
- node.master=false
image: opensearch/pa-rca:3.0
mem_limit: 4g
networks:
- opensearchnet
user: ${PROCESS_UID}
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ${DATA_VOLUME2}:/usr/share/opensearch/data
volumes:
opensearchdata1:
driver: local
opensearchdata2:
driver: local
networks:
opensearchnet:
driver: bridge