mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
gunicorn can still run on port 8000, docker will translate the port.
This commit is contained in:
parent
8053c40b7b
commit
619dec1688
3 changed files with 1 additions and 5 deletions
|
@ -129,8 +129,6 @@
|
|||
DOCKERBUILD: ""
|
||||
state: started
|
||||
command: gunicorn --config /srv/newsblur/config/gunicorn_conf.py newsblur_web.wsgi:application
|
||||
env:
|
||||
TEMP8001: "true"
|
||||
hostname: "{{ inventory_hostname }}"
|
||||
log_driver: json-file
|
||||
log_options:
|
||||
|
|
|
@ -12,8 +12,6 @@ GIGS_OF_MEMORY = psutil.virtual_memory().total / 1024 / 1024 / 1024.0
|
|||
NUM_CPUS = psutil.cpu_count()
|
||||
|
||||
bind = "0.0.0.0:8000"
|
||||
if os.environ.get("TEMP8001", False):
|
||||
bind = "0.0.0.0:8001"
|
||||
|
||||
pidfile = "/srv/newsblur/logs/gunicorn.pid"
|
||||
logfile = "/srv/newsblur/logs/production.log"
|
||||
|
|
|
@ -84,7 +84,7 @@ urlpatterns = [
|
|||
url(r"^account/ifttt/v1/", include("apps.oauth.urls")),
|
||||
url(r"^account/", include("oauth2_provider.urls", namespace="oauth2_provider")),
|
||||
url(r"^monitor/", include("apps.monitor.urls"), name="monitor"),
|
||||
url(r"^health-check/", static_views.health_check, name="health-check"),
|
||||
url(r"^health-check/?", static_views.health_check, name="health-check"),
|
||||
url("", include("django_prometheus.urls")),
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue