Commit 36901f3 1 parent c36f0c9 commit 36901f3 Copy full SHA for 36901f3
File tree 1 file changed +11
-3
lines changed
1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -492,6 +492,7 @@ services:
492
492
resources :
493
493
limits :
494
494
memory : 100M
495
+ restart : unless-stopped
495
496
environment :
496
497
- " GF_INSTALL_PLUGINS=grafana-opensearch-datasource"
497
498
volumes :
@@ -543,21 +544,28 @@ services:
543
544
resources :
544
545
limits :
545
546
memory : 300M
547
+ restart : unless-stopped
546
548
ports :
547
549
- " ${PROMETHEUS_SERVICE_PORT}:${PROMETHEUS_SERVICE_PORT}"
548
550
logging : *logging
549
551
552
+ # OpenSearch
550
553
opensearch :
551
554
image : ${OPENSEARCH_IMAGE}
552
555
container_name : opensearch
556
+ deploy :
557
+ resources :
558
+ limits :
559
+ memory : 1G
560
+ restart : unless-stopped
553
561
environment :
554
562
- cluster.name=demo-cluster
555
563
- node.name=demo-node
556
564
- bootstrap.memory_lock=true
557
565
- discovery.type=single-node
558
- - " OPENSEARCH_JAVA_OPTS=-Xms512m -Xmx512m "
559
- - " DISABLE_INSTALL_DEMO_CONFIG=true"
560
- - " DISABLE_SECURITY_PLUGIN=true"
566
+ - OPENSEARCH_JAVA_OPTS=-Xms300m -Xmx300m
567
+ - DISABLE_INSTALL_DEMO_CONFIG=true
568
+ - DISABLE_SECURITY_PLUGIN=true
561
569
ulimits :
562
570
memlock :
563
571
soft : -1
You can’t perform that action at this time.
0 commit comments