Implement indexing into Apache Druid #1
|
@ -5,5 +5,6 @@ __pycache__/
|
||||||
conf/live/
|
conf/live/
|
||||||
conf/cert/
|
conf/cert/
|
||||||
env/
|
env/
|
||||||
|
venv/
|
||||||
.idea/
|
.idea/
|
||||||
.env
|
.env
|
||||||
|
|
|
@ -2,7 +2,7 @@ version: "2"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: pathogen/threshold
|
image: pathogen/threshold:latest
|
||||||
build: ./docker
|
build: ./docker
|
||||||
volumes:
|
volumes:
|
||||||
- ${PORTAINER_GIT_DIR}:/code
|
- ${PORTAINER_GIT_DIR}:/code
|
||||||
|
|
|
@ -57,11 +57,13 @@ api_enabled = getenv("THRESHOLD_API_ENABLED", main.config["API"]["Enabled"]) in
|
||||||
api_address = getenv("THRESHOLD_API_HOST", main.config["API"]["Address"])
|
api_address = getenv("THRESHOLD_API_HOST", main.config["API"]["Address"])
|
||||||
api_port = int(getenv("THRESHOLD_API_PORT", main.config["API"]["Port"]))
|
api_port = int(getenv("THRESHOLD_API_PORT", main.config["API"]["Port"]))
|
||||||
|
|
||||||
|
print("KEY", main.certPath + main.config["Key"])
|
||||||
|
print("CERT", main.certPath + main.config["Certificate"])
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
listener = ServerFactory()
|
listener = ServerFactory()
|
||||||
if listener_ssl is True:
|
if listener_ssl is True:
|
||||||
reactor.listenSSL(
|
reactor.listenSSL(
|
||||||
main.config["Listener"]["Port"],
|
listener_port,
|
||||||
listener,
|
listener,
|
||||||
DefaultOpenSSLContextFactory(
|
DefaultOpenSSLContextFactory(
|
||||||
main.certPath + main.config["Key"],
|
main.certPath + main.config["Key"],
|
||||||
|
|
Loading…
Reference in New Issue