Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
api
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
retribute.me
api
Commits
2da29ea5
Verified
Commit
2da29ea5
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Deploy using uvicorn instead
parent
73cfcbd1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
deploy/systemd.service
+1
-1
1 addition, 1 deletion
deploy/systemd.service
setup.cfg
+2
-0
2 additions, 0 deletions
setup.cfg
with
3 additions
and
1 deletion
deploy/systemd.service
+
1
−
1
View file @
2da29ea5
...
@@ -6,7 +6,7 @@ After=network.target
...
@@ -6,7 +6,7 @@ After=network.target
User
=
retribute
User
=
retribute
WorkingDirectory
=
/srv/retribute/api
WorkingDirectory
=
/srv/retribute/api
EnvironmentFile
=
/srv/retribute/.env
EnvironmentFile
=
/srv/retribute/.env
ExecStart
=
/srv/retribute/venv/bin/
daphne 127.0.0.1 -p 8091
config.asgi:application -
-proxy-headers
ExecStart
=
/srv/retribute/venv/bin/
gunicorn
config.asgi:application -
w 4 -k uvicorn.workers.UvicornWorker -b 127.0.0.1:8091
[Install]
[Install]
WantedBy
=
multi-user.target
WantedBy
=
multi-user.target
This diff is collapsed.
Click to expand it.
setup.cfg
+
2
−
0
View file @
2da29ea5
...
@@ -27,6 +27,8 @@ install_requires =
...
@@ -27,6 +27,8 @@ install_requires =
redis
redis
channels
channels
daphne
daphne
gunicorn
uvicorn
channels_redis
channels_redis
django
django
django-environ
django-environ
...
...
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