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
SOaAS
psotdb
Commits
dbeb0468
Commit
dbeb0468
authored
Aug 21, 2019
by
Rudel Fankep
Browse files
change s3 environment variable
parent
91d244d1
Changes
1
Hide whitespace changes
Inline
Side-by-side
dbman/main.py
View file @
dbeb0468
...
...
@@ -85,8 +85,8 @@ def get_remote_databases_directory(args):
web_dir
=
's3://db_storage'
if
args
.
store
:
web_dir
=
args
.
store
elif
'
S3_DB
DIR'
in
os
.
environ
:
web_dir
=
os
.
environ
[
'
S3_DB
DIR'
]
elif
'
DBMAN_S3
DIR'
in
os
.
environ
:
web_dir
=
os
.
environ
[
'
DBMAN_S3
DIR'
]
return
web_dir
...
...
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