Skip to content

Commit 2f6c0da

Browse files
committed
Merge branch 'release/v3.3.0'
2 parents cef757c + 3ff674f commit 2f6c0da

File tree

134 files changed

+15453
-526
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+15453
-526
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ ElasticHQ
33

44
Simplified Monitoring and Management for ElasticSearch clusters.
55

6-
[![GitHub Stars](https://img.shields.io/github/stars/ElasticHQ/elasticsearch-HQ.svg)](https://github.com/ElasticHQ/elasticsearch-HQ)
7-
[![GitHub Issues](https://img.shields.io/github/issues/ElasticHQ/elasticsearch-HQ.svg)](https://github.com/ElasticHQ/elasticsearch-HQ)
8-
[![Current Version](https://img.shields.io/badge/version-3.0.0-green.svg)](https://github.com/ElasticHQ/elasticsearch-HQ)
9-
![Python](https://img.shields.io/badge/python-v3.4%20%2F%20v3.6-blue.svg)
10-
[![License](https://img.shields.io/badge/license-ASL-blue.svg)](https://opensource.org/licenses/ASL)
6+
[![gitHub stars](https://img.shields.io/github/stars/ElasticHQ/elasticsearch-HQ.svg)](https://github.com/ElasticHQ/elasticsearch-HQ)
7+
[![gitHub issues](https://img.shields.io/github/issues/ElasticHQ/elasticsearch-HQ.svg)](https://github.com/ElasticHQ/elasticsearch-HQ)
8+
[![latest](https://img.shields.io/github/release/ElasticHQ/elasticsearch-HQ.svg)](https://github.com/ElasticHQ/elasticsearch-HQ)
9+
[![docker pulls](https://img.shields.io/docker/pulls/elastichq/elasticsearch-hq.svg)](https://hub.docker.com/r/elastichq/elasticsearch-hq 'DockerHub')
10+
![python](https://img.shields.io/badge/python-v3.4%20%2F%20v3.6-blue.svg)
11+
[![license](https://img.shields.io/badge/license-ASL-blue.svg)](https://opensource.org/licenses/ASL)
1112

1213

1314
![alt text](https://raw.githubusercontent.com/ElasticHQ/elasticsearch-HQ/master/main_dashboard.png)

application.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# import argparse
22
import optparse
3+
import os
34

45
from elastichq import create_app
56
from elastichq.globals import socketio
67

78
default_host = '0.0.0.0'
89
default_port = 5000
910
default_debug = False
11+
default_url = 'http://localhost:9200'
1012

1113
application = create_app()
1214

@@ -24,8 +26,11 @@
2426
parser.add_option("-d", "--debug",
2527
action="store_true", dest="debug", default=default_debug,
2628
help=optparse.SUPPRESS_HELP)
29+
parser.add_option("-u", "--url", default=default_url)
2730

2831
options, _ = parser.parse_args()
2932

30-
socketio.run(application, host=options.host, port=options.port, debug=options.debug)
33+
# set default url, override with env for docker
34+
application.config['DEFAULT_URL'] = os.environ.get('HQ_DEFAULT_URL', options.url)
3135

36+
socketio.run(application, host=options.host, port=options.port, debug=options.debug)
-135 Bytes
Binary file not shown.

docs/.doctrees/environment.pickle

6.75 KB
Binary file not shown.

docs/.doctrees/faq.doctree

-60 Bytes
Binary file not shown.

docs/.doctrees/index.doctree

-204 Bytes
Binary file not shown.
15.7 KB
Binary file not shown.

docs/.doctrees/rest-api.doctree

13 KB
Binary file not shown.
-27 Bytes
Binary file not shown.

docs/.doctrees/user-guide.doctree

-8.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)