-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
66 lines (59 loc) · 1.64 KB
/
docker-compose.yml
File metadata and controls
66 lines (59 loc) · 1.64 KB
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
58
59
60
61
62
63
64
65
66
version: '3'
services:
motorhead:
image: ghcr.io/getmetal/motorhead:latest
ports:
- '8585:8585'
links:
- redis
environment:
PORT: 8585
MOTORHEAD_MAX_WINDOW_SIZE: 5
MOTORHEAD_LONG_TERM_MEMORY: 'false'
MOTORHEAD_MODEL: 'gpt-3.5-turbo'
REDIS_URL: 'redis://redis:6379'
env_file:
- .env
redis:
image: redis/redis-stack-server:latest
ports:
- '6379:6379'
opensearch-node1:
image: opensearchproject/opensearch:latest
container_name: opensearch-node1
ports:
- '9200:9200'
- '9600:9600'
environment:
- cluster.name=opensearch-cluster
- node.name=opensearch-node1
- discovery.seed_hosts=opensearch-node1
- cluster.initial_cluster_manager_nodes=opensearch-node1
- bootstrap.memory_lock=true # along with the memlock settings below, disables swapping
- "OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m" # minimum and maximum Java heap size, recommend setting both to 50% of system RAM
- DISABLE_SECURITY_PLUGIN=true
- DISABLE_INSTALL_DEMO_CONFIG=true
- http.max_content_length=500mb
ulimits:
memlock:
soft: -1
hard: -1
nofile:
soft: 65536
hard: 65536
volumes:
- opensearch-data:/usr/share/opensearch/data
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:latest
container_name: opensearch-dashboards
ports:
- 5601:5601
expose:
- "5601"
environment:
OPENSEARCH_HOSTS: '["http://opensearch-node1:9200"]'
DISABLE_SECURITY_DASHBOARDS_PLUGIN: true
volumes:
opensearch-data:
networks:
opensearch-net: