Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Public contract registry
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
Public contract registry
Commits
e592c8dc
Commit
e592c8dc
authored
2 years ago
by
Tomáš Valenta
Browse files
Options
Downloads
Patches
Plain Diff
remove unusued downloadview backend
parent
6279e0ec
No related branches found
No related tags found
No related merge requests found
Pipeline
#11939
passed
2 years ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+0
-1
0 additions, 1 deletion
Dockerfile
env.example
+0
-2
0 additions, 2 deletions
env.example
registry/settings/base.py
+0
-8
0 additions, 8 deletions
registry/settings/base.py
with
0 additions
and
11 deletions
Dockerfile
+
0
−
1
View file @
e592c8dc
...
@@ -26,7 +26,6 @@ RUN DATABASE_URL=postgres://x/x \
...
@@ -26,7 +26,6 @@ RUN DATABASE_URL=postgres://x/x \
DEFAULT_CONTRACTEE_ZIP
=
x
\
DEFAULT_CONTRACTEE_ZIP
=
x
\
DEFAULT_CONTRACTEE_DISTRICT
=
x
\
DEFAULT_CONTRACTEE_DISTRICT
=
x
\
DEFAULT_CONTRACTEE_ICO_NUMBER
=
x
\
DEFAULT_CONTRACTEE_ICO_NUMBER
=
x
\
DOWNLOADVIEW_BACKEND
=
x
\
python manage.py collectstatic
--noinput
--settings
=
registry.settings.production
python manage.py collectstatic
--noinput
--settings
=
registry.settings.production
RUN
bash
-c
"adduser --disabled-login --quiet --gecos app app &&
\
RUN
bash
-c
"adduser --disabled-login --quiet --gecos app app &&
\
...
...
This diff is collapsed.
Click to expand it.
env.example
+
0
−
2
View file @
e592c8dc
...
@@ -15,5 +15,3 @@ DEFAULT_CONTRACTEE_STREET="Na Moráni 360/3"
...
@@ -15,5 +15,3 @@ DEFAULT_CONTRACTEE_STREET="Na Moráni 360/3"
DEFAULT_CONTRACTEE_ZIP="128 00"
DEFAULT_CONTRACTEE_ZIP="128 00"
DEFAULT_CONTRACTEE_DISTRICT="Praha 2"
DEFAULT_CONTRACTEE_DISTRICT="Praha 2"
DEFAULT_CONTRACTEE_ICO_NUMBER="71339698"
DEFAULT_CONTRACTEE_ICO_NUMBER="71339698"
DOWNLOADVIEW_BACKEND=django_downloadview.nginx.XAccelRedirectMiddleware
This diff is collapsed.
Click to expand it.
registry/settings/base.py
+
0
−
8
View file @
e592c8dc
...
@@ -193,14 +193,6 @@ MEDIA_URL = "/media/"
...
@@ -193,14 +193,6 @@ MEDIA_URL = "/media/"
DEFAULT_FILE_STORAGE
=
"
django_downloadview.storage.SignedFileSystemStorage
"
DEFAULT_FILE_STORAGE
=
"
django_downloadview.storage.SignedFileSystemStorage
"
#DOWNLOADVIEW_BACKEND = env.str("DOWNLOADVIEW_BACKEND")
#DOWNLOADVIEW_RULES = [
#{
#"source_url": "/media/",
#"destination_url": "/media-nginx-optimized/",
#},
#]
## Server
## Server
USE_X_FORWARDED_HOST
=
True
USE_X_FORWARDED_HOST
=
True
...
...
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