Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
atdb-ldv
Commits
83d4909c
Commit
83d4909c
authored
1 year ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
added connection to atdb database on sdc-dev
parent
3b1a5906
Branches
Branches containing commit
No related tags found
1 merge request
!337
Upgrade to django 5
Pipeline
#69048
passed
1 year ago
Stage: test
Stage: build
Stage: deploy_to_test
Stage: deploy_to_production
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
atdb/atdb/settings/sdc-dev.py
+28
-0
28 additions, 0 deletions
atdb/atdb/settings/sdc-dev.py
with
28 additions
and
0 deletions
atdb/atdb/settings/sdc-dev.py
0 → 100644
+
28
−
0
View file @
83d4909c
from
atdb.settings.base
import
*
import
os
# SECURITY WARNING: don't run with debug turned on in production!
DEV
=
True
DEBUG
=
True
ALLOWED_HOSTS
=
[
"
*
"
]
CORS_ORIGIN_ALLOW_ALL
=
True
# needs to be inside the ASTRON network or connected through VPN
DATABASES
=
{
'
default
'
:
{
'
ENGINE
'
:
'
django.db.backends.postgresql_psycopg2
'
,
'
USER
'
:
'
dbadmin
'
,
'
PASSWORD
'
:
'
dbadmin123
'
,
'
NAME
'
:
'
atdbldv
'
,
'
HOST
'
:
'
sdc-dev.astron.nl
'
,
'
PORT
'
:
'
10000
'
,
},
}
# Password validation
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS
=
[]
LOGIN_REDIRECT_URL
=
"
http://localhost:8000/atdb
"
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