Commit 40f7e8b5 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Bugfixes

parent 8f5b5e0b
server { server {
listen 80; listen 80;
location / { location /nomadxt/api {
proxy_pass http://api:8000; proxy_pass http://api:8000;
} }
......
...@@ -139,6 +139,7 @@ services: ...@@ -139,6 +139,7 @@ services:
- NOMAD_LOGSTASH_HOST=elk - NOMAD_LOGSTASH_HOST=elk
- NOMAD_ELASTIC_HOST=elastic - NOMAD_ELASTIC_HOST=elastic
- NOMAD_MONGO_HOST=mongo - NOMAD_MONGO_HOST=mongo
- NOMAD_API_BASE_PATH=/nomadxt/api
links: links:
- minio - minio
- redis - redis
......
...@@ -42,7 +42,7 @@ MongoConfig = namedtuple('MongoConfig', ['host', 'users_db']) ...@@ -42,7 +42,7 @@ MongoConfig = namedtuple('MongoConfig', ['host', 'users_db'])
LogstashConfig = namedtuple('LogstashConfig', ['enabled', 'host', 'tcp_port']) LogstashConfig = namedtuple('LogstashConfig', ['enabled', 'host', 'tcp_port'])
""" Used to configure and enable/disable the ELK based centralized logging. """ """ Used to configure and enable/disable the ELK based centralized logging. """
NomadServicesConfig = namedtupe('NomadServicesConfig', ['api_base_path']) NomadServicesConfig = namedtuple('NomadServicesConfig', ['api_base_path'])
""" Used to configure nomad services: worker, handler, api """ """ Used to configure nomad services: worker, handler, api """
files = FilesConfig( files = FilesConfig(
...@@ -91,4 +91,4 @@ logstash = LogstashConfig( ...@@ -91,4 +91,4 @@ logstash = LogstashConfig(
) )
services = NomadServicesConfig( services = NomadServicesConfig(
api_base_path='/nomadxt/api' api_base_path='/nomadxt/api'
) )
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment