Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
Openlobby Server
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
openlobby
Openlobby Server
Commits
2cec46d3
"shared/static/styleguide2/main.css" did not exist on "25aed6e79978e6c200b4bf2a0287bcc419b0904a"
Commit
2cec46d3
authored
7 years ago
by
Michal Holub
Browse files
Options
Downloads
Patches
Plain Diff
removed default secret key from settings
parent
f018f7b3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-1
1 addition, 1 deletion
Dockerfile
openlobby/settings.py
+1
-1
1 addition, 1 deletion
openlobby/settings.py
with
2 additions
and
2 deletions
Dockerfile
+
1
−
1
View file @
2cec46d3
...
...
@@ -19,7 +19,7 @@ RUN pip install -r requirements.txt && \
ADD
. /code/
RUN
DATABASE_URL
=
none python manage.py collectstatic
--noinput
RUN
DATABASE_URL
=
none
SECRET_KEY
=
xxx
python manage.py collectstatic
--noinput
COPY
conf/supervisor.conf /etc/supervisor/conf.d/supervisor.conf
COPY
conf/nginx.conf /etc/nginx/conf.d/openlobby-server.conf
...
...
This diff is collapsed.
Click to expand it.
openlobby/settings.py
+
1
−
1
View file @
2cec46d3
...
...
@@ -8,7 +8,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DEBUG
=
'
DEBUG
'
in
os
.
environ
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY
=
os
.
environ
.
get
(
'
SECRET_KEY
'
,
'
very-secret-key
'
)
SECRET_KEY
=
os
.
environ
.
get
(
'
SECRET_KEY
'
)
if
not
SECRET_KEY
:
if
DEBUG
:
SECRET_KEY
=
'
not-secret-at-all
'
...
...
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