Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uhepp.org
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
Frank Sauerburger
uhepp.org
Commits
7d4a3ead
Verified
Commit
7d4a3ead
authored
4 years ago
by
Frank Sauerburger
Browse files
Options
Downloads
Patches
Plain Diff
Configure staging settings
parent
d335e1b1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!9
Draft: Resolve "Add React interface"
Pipeline
#7243
passed
4 years ago
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+2
-0
2 additions, 0 deletions
.gitlab-ci.yml
docker-compose.yml
+2
-0
2 additions, 0 deletions
docker-compose.yml
uhepp_org/Dockerfile
+0
-1
0 additions, 1 deletion
uhepp_org/Dockerfile
uhepp_org/uhepp_org/settings.py
+17
-0
17 additions, 0 deletions
uhepp_org/uhepp_org/settings.py
with
21 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
0
View file @
7d4a3ead
...
...
@@ -98,6 +98,7 @@ deploy_staging:
SUPER_PASSWORD
:
${STAGING_PASSWORD}
SECRET_KEY
:
${STAGING_SECRET_KEY}
OIDC_RP_CLIENT_SECRET
:
${STAGING_OIDC_RP_CLIENT_SECRET}
STAGING
:
1
before_script
:
-
mkdir -p .remote
...
...
@@ -122,6 +123,7 @@ deploy_production:
SUPER_PASSWORD
:
${PRODUCTION_PASSWORD}
SECRET_KEY
:
${PRODUCTION_SECRET_KEY}
OIDC_RP_CLIENT_SECRET
:
${PRODUCTION_OIDC_RP_CLIENT_SECRET}
PRODUCTION
:
1
only
:
-
master
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
2
−
0
View file @
7d4a3ead
...
...
@@ -13,6 +13,8 @@ services:
SECRET_KEY
:
${SECRET_KEY}
DB_PASSWORD
:
${DB_PASSWORD}
OIDC_RP_CLIENT_SECRET
:
${OIDC_RP_CLIENT_SECRET}
PRODUCTION
:
${PRODUCTION}
STAGING
:
${STAGING}
expose
:
-
"
8080"
volumes
:
...
...
This diff is collapsed.
Click to expand it.
uhepp_org/Dockerfile
+
0
−
1
View file @
7d4a3ead
...
...
@@ -14,5 +14,4 @@ RUN useradd -rMd /app app
RUN
chown
-R
app:app /app
WORKDIR
/app
ENV
PRODUCTION=1
CMD
./run.sh
This diff is collapsed.
Click to expand it.
uhepp_org/uhepp_org/settings.py
+
17
−
0
View file @
7d4a3ead
...
...
@@ -43,6 +43,23 @@ if os.environ.get("PRODUCTION", False):
OIDC_RP_CLIENT_ID
=
'
uhepp
'
LOGIN_REDIRECT_URL
=
"
https://uhepp.org/account/
"
LOGOUT_REDIRECT_URL
=
"
https://uhepp.org/
"
elif
os
.
environ
.
get
(
"
STAGING
"
,
False
):
SECRET_KEY
=
os
.
environ
[
"
SECRET_KEY
"
]
DATABASES
=
{
'
default
'
:
{
'
ENGINE
'
:
'
django.db.backends.postgresql_psycopg2
'
,
'
NAME
'
:
'
uhepp_hub
'
,
'
USER
'
:
'
webapp
'
,
'
PASSWORD
'
:
os
.
environ
[
"
DB_PASSWORD
"
],
'
HOST
'
:
'
database
'
,
'
PORT
'
:
'
5432
'
,
}
}
OIDC_APP_NAME
=
"
uhepp-dev
"
OIDC_RP_CLIENT_ID
=
'
uhepp-dev
'
LOGIN_REDIRECT_URL
=
"
https://uhepp.preview.sauerburger.com/account/
"
LOGOUT_REDIRECT_URL
=
"
https://uhepp.preview.sauerburger.com/
"
else
:
DEBUG
=
True
SECRET_KEY
=
'
o-08ul47ou_j61zd)14(mjw&f&&ow95boa9nky=jn^%tv(+hqk
'
...
...
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