Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
nomad-FAIR
Commits
40f7e8b5
Commit
40f7e8b5
authored
Aug 27, 2018
by
Markus Scheidgen
Browse files
Bugfixes
parent
8f5b5e0b
Changes
3
Hide whitespace changes
Inline
Side-by-side
gui/nginx.conf
View file @
40f7e8b5
server
{
listen
80
;
location
/
{
location
/
nomadxt/api
{
proxy_pass
http://api:8000
;
}
...
...
infrastructure/nomadxt/docker-compose.yml
View file @
40f7e8b5
...
...
@@ -139,6 +139,7 @@ services:
-
NOMAD_LOGSTASH_HOST=elk
-
NOMAD_ELASTIC_HOST=elastic
-
NOMAD_MONGO_HOST=mongo
-
NOMAD_API_BASE_PATH=/nomadxt/api
links
:
-
minio
-
redis
...
...
nomad/config.py
View file @
40f7e8b5
...
...
@@ -42,7 +42,7 @@ MongoConfig = namedtuple('MongoConfig', ['host', 'users_db'])
LogstashConfig
=
namedtuple
(
'LogstashConfig'
,
[
'enabled'
,
'host'
,
'tcp_port'
])
""" Used to configure and enable/disable the ELK based centralized logging. """
NomadServicesConfig
=
namedtupe
(
'NomadServicesConfig'
,
[
'api_base_path'
])
NomadServicesConfig
=
namedtup
l
e
(
'NomadServicesConfig'
,
[
'api_base_path'
])
""" Used to configure nomad services: worker, handler, api """
files
=
FilesConfig
(
...
...
@@ -91,4 +91,4 @@ logstash = LogstashConfig(
)
services
=
NomadServicesConfig
(
api_base_path
=
'/nomadxt/api'
)
\ No newline at end of file
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment