Add Gunicorn
This commit is contained in:
parent
03525fc04a
commit
630e049d8c
3 changed files with 36 additions and 2 deletions
|
|
@ -19,6 +19,8 @@ services:
|
|||
- POSTGRES_USER=feedvault
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- DISCORD_WEBHOOK_URL=${DISCORD_WEBHOOK_URL}
|
||||
volumes:
|
||||
- /mnt/Fourteen/Docker/FeedVault/staticfiles:/app/staticfiles
|
||||
|
||||
# Nginx - Reverse proxy
|
||||
web:
|
||||
|
|
@ -47,7 +49,7 @@ services:
|
|||
networks:
|
||||
- feedvault_tunnel
|
||||
environment:
|
||||
- TUNNEL_URL=http://web:80
|
||||
- TUNNEL_URL=http://feedvault_web:80
|
||||
|
||||
# Postgres - Database
|
||||
postgres:
|
||||
|
|
|
|||
33
poetry.lock
generated
33
poetry.lock
generated
|
|
@ -122,6 +122,26 @@ files = [
|
|||
[package.dependencies]
|
||||
sgmllib3k = "*"
|
||||
|
||||
[[package]]
|
||||
name = "gunicorn"
|
||||
version = "21.2.0"
|
||||
description = "WSGI HTTP Server for UNIX"
|
||||
optional = false
|
||||
python-versions = ">=3.5"
|
||||
files = [
|
||||
{file = "gunicorn-21.2.0-py3-none-any.whl", hash = "sha256:3213aa5e8c24949e792bcacfc176fef362e7aac80b76c56f6b5122bf350722f0"},
|
||||
{file = "gunicorn-21.2.0.tar.gz", hash = "sha256:88ec8bff1d634f98e61b9f65bc4bf3cd918a90806c6f5c48bc5603849ec81033"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
packaging = "*"
|
||||
|
||||
[package.extras]
|
||||
eventlet = ["eventlet (>=0.24.1)"]
|
||||
gevent = ["gevent (>=1.4.0)"]
|
||||
setproctitle = ["setproctitle"]
|
||||
tornado = ["tornado (>=0.2)"]
|
||||
|
||||
[[package]]
|
||||
name = "html-tag-names"
|
||||
version = "0.1.2"
|
||||
|
|
@ -172,6 +192,17 @@ files = [
|
|||
[package.extras]
|
||||
dev = ["hypothesis"]
|
||||
|
||||
[[package]]
|
||||
name = "packaging"
|
||||
version = "23.2"
|
||||
description = "Core utilities for Python packages"
|
||||
optional = false
|
||||
python-versions = ">=3.7"
|
||||
files = [
|
||||
{file = "packaging-23.2-py3-none-any.whl", hash = "sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7"},
|
||||
{file = "packaging-23.2.tar.gz", hash = "sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5"},
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pathspec"
|
||||
version = "0.12.1"
|
||||
|
|
@ -564,4 +595,4 @@ files = [
|
|||
[metadata]
|
||||
lock-version = "2.0"
|
||||
python-versions = "^3.12"
|
||||
content-hash = "92b4499e33bc0f5946dbdc8794307180e6e8e2d9188fc6f0c0e5a889ca359843"
|
||||
content-hash = "a54ee43c5cdb06ea0c2bef22d740942fc29a208de5e9aab46d54bacfdead3b5b"
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ django = "^5.0.2"
|
|||
python-dotenv = "^1.0.1"
|
||||
feedparser = "^6.0.11"
|
||||
psycopg = {extras = ["binary"], version = "^3.1.18"}
|
||||
gunicorn = "^21.2.0"
|
||||
|
||||
[tool.poetry.group.dev.dependencies]
|
||||
ruff = "^0.2.2"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue