Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
naiades-platform-poc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
naiades
naiades-platform-poc
Commits
f1459372
Commit
f1459372
authored
Oct 15, 2020
by
Federico Sismondi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed names of ENV VARS for lora platform
parent
50cff17f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
dca-carouge-fountain/app.py
dca-carouge-fountain/app.py
+1
-1
dca-carouge-watering/app.py
dca-carouge-watering/app.py
+1
-1
docker-compose.yml
docker-compose.yml
+2
-2
No files found.
dca-carouge-fountain/app.py
View file @
f1459372
...
...
@@ -32,7 +32,7 @@ app = Flask(__name__, )
COLLECTION_DIR
=
os
.
getenv
(
'COLLECTION_DIR'
,
default
=
'.'
)
URL_BASE
=
'http://{}:1026'
.
format
(
os
.
getenv
(
'ORION_HOST'
,
default
=
'localhost'
))
LORA_PLATFORM_URL
=
os
.
getenv
(
'LORA_PLATFORM_
SERVER
'
)
LORA_PLATFORM_URL
=
os
.
getenv
(
'LORA_PLATFORM_
URL
'
)
LORA_PLATFORM_SECRET_FILE
=
os
.
getenv
(
'LORA_PLATFORM_SECRET_FILE'
,
'secret_carouge_lora'
)
...
...
dca-carouge-watering/app.py
View file @
f1459372
...
...
@@ -29,7 +29,7 @@ print("Starting to collect..")
COLLECTION_DIR
=
os
.
getenv
(
'COLLECTION_DIR'
,
default
=
'.'
)
URL_BASE
=
'http://{}:1026'
.
format
(
os
.
getenv
(
'ORION_HOST'
,
default
=
'localhost'
))
LORA_PLATFORM_URL
=
os
.
getenv
(
'LORA_PLATFORM_
SERVER
'
)
LORA_PLATFORM_URL
=
os
.
getenv
(
'LORA_PLATFORM_
URL
'
)
LORA_PLATFORM_SECRET_FILE
=
os
.
getenv
(
'LORA_PLATFORM_SECRET_FILE'
,
'secret_carouge_lora'
)
with
open
(
LORA_PLATFORM_SECRET_FILE
,
'r'
)
as
file
:
...
...
docker-compose.yml
View file @
f1459372
...
...
@@ -322,7 +322,7 @@ services:
-
COLLECTION_DIR=/code/raw_data
-
ORION_HOST=orion
-
LORA_PLATFORM_SECRET_FILE=/run/secrets/lora_platform_auth_header
-
LORA_PLATFORM_
SERVER
=https://lora-ns.sig-ge.ch:443
-
LORA_PLATFORM_
URL
=https://lora-ns.sig-ge.ch:443
secrets
:
-
lora_platform_auth_header
expose
:
...
...
@@ -355,7 +355,7 @@ services:
-
COLLECTION_DIR=/code/raw_data
-
ORION_HOST=orion
-
LORA_PLATFORM_SECRET_FILE=/run/secrets/lora_platform_auth_header
-
LORA_PLATFORM_
SERVER
=https://eu.saas.orbiwise.com:443
-
LORA_PLATFORM_
URL
=https://eu.saas.orbiwise.com:443
secrets
:
-
lora_platform_auth_header
expose
:
...
...
Write
Preview
Markdown
is supported
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