Skip to content
Permalink
Browse files

make gunicorn a fixed requirement

  • Loading branch information...
JeffVandrewJr committed Feb 11, 2019
1 parent 7a0c315 commit efbde0d52fc7ea4a7817164b7a08185d74a0198b
Showing with 8 additions and 8 deletions.
  1. +0 −1 Dockerfile
  2. +1 −0 requirements.txt
  3. +7 −7 tests/tconfig.py
@@ -6,7 +6,6 @@ COPY . /patron

RUN apk add --no-cache gcc musl-dev libffi libffi-dev python3-dev openssl-dev tzdata linux-headers
RUN ln -sf /usr/share/zoneinfo/Universal /etc/localtime
RUN pip install gunicorn
RUN pip install -r requirements.txt
RUN chmod +x boot.sh

@@ -22,6 +22,7 @@ Flask-Migrate==2.3.1
Flask-Principal==0.4.0
Flask-SQLAlchemy==2.3.2
Flask-WTF==0.14.2
gunicorn==19.9.0
idna==2.8
itsdangerous==1.1.0
Jinja2==2.10
@@ -1,6 +1,7 @@
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
from datetime import datetime, timedelta
import os
from os.path import normpath, abspath, join
from os.path import abspath, join

basedir = abspath(os.path.dirname(__file__))

@@ -19,18 +20,17 @@ class Config(object):
BLOGGING_PLUGINS = None
BLOGGING_ALLOW_FILE_UPLOAD = True
BLOGGING_ESCAPE_MARKDOWN = False
MAIL_SERVER = 'ssrs.reachmail.net'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_USERNAME = 'example@example.com'
MAIL_PASSWORD = 'password'
PREFERRED_URL_SCHEME = 'https'
SCHEDULER_BASE = datetime.now() + timedelta(minutes=1)
SCHEDULER_HOUR = SCHEDULER_BASE.hour
SCHEDULER_MINUTE= SCHEDULER_BASE.minute
SCHEDULER_MINUTE = SCHEDULER_BASE.minute
SECRET_KEY = 'a-very-secret-key'
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + join(basedir, 'app.db')
SCHEDULER_JOBSTORES = {
'default': SQLAlchemyJobStore(url=SQLALCHEMY_DATABASE_URI)
}
SQLALCHEMY_TRACK_MODIFICATIONS = False
THEME = 'spacelab'
SERVER_NAME = 'librepatron.com'
BCRYPT_LOG_ROUNDS = 4
TESTING = True

0 comments on commit efbde0d

Please sign in to comment.
You can’t perform that action at this time.