Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NACSOS Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MCC APSIS
NACSOS
NACSOS Core
Commits
42a03631
Commit
42a03631
authored
2 years ago
by
Tim Repke
Browse files
Options
Downloads
Patches
Plain Diff
fix default config missing value
parent
aa258239
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/util/config.py
+5
-4
5 additions, 4 deletions
server/util/config.py
with
5 additions
and
4 deletions
server/util/config.py
+
5
−
4
View file @
42a03631
...
...
@@ -44,7 +44,7 @@ class DatabaseConfig(BaseModel):
HOST
:
str
=
'
localhost
'
# host of the db server
PORT
:
int
=
5432
# port of the db server
USER
:
str
=
'
nacsos
'
# username for the database
PASSWORD
:
str
# password for the database user
PASSWORD
:
str
=
'
secr€t_passvvord
'
# password for the database user
DATABASE
:
str
=
'
nacsos_core
'
# name of the database
CONNECTION_STR
:
PostgresDsn
|
None
=
None
...
...
@@ -91,9 +91,10 @@ class UsersConfig(BaseModel):
class
Settings
(
BaseSettings
):
SERVER
:
ServerConfig
DB
:
DatabaseConfig
USERS
:
UsersConfig
SERVER
:
ServerConfig
=
ServerConfig
()
DB
:
DatabaseConfig
=
DatabaseConfig
()
USERS
:
UsersConfig
=
UsersConfig
()
# EMAIL: EmailConfig
LOG_CONF_FILE
:
str
=
'
config/logging.conf
'
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment