diff options
| author | 2019-06-22 15:06:21 +0200 | |
|---|---|---|
| committer | 2019-06-22 15:06:21 +0200 | |
| commit | 56949e7d2e5d05d975fc9d12a4b5efe5c45e3188 (patch) | |
| tree | 5cd3466437988ff589857a36ff1e3ade12f7706f /Pipfile | |
| parent | Merge pull request #24 from python-discord/refactor/nsjail (diff) | |
| parent | Use a custom Gunicorn access log format (diff) | |
Merge pull request #29 from python-discord/api-adjustments
API Adjustments
Diffstat (limited to 'Pipfile')
| -rw-r--r-- | Pipfile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -31,7 +31,15 @@ lint = "flake8" precommit = "pre-commit install" test = "pytest tests --cov . --cov-report term-missing -v" report = "pytest tests --cov . --cov-report=html" -snekbox = "gunicorn -w 2 -b 0.0.0.0:8060 --logger-class snekbox.GunicornLogger --access-logfile - snekbox.api.app" +snekbox = """ + gunicorn + -w 2 + -b 0.0.0.0:8060 + --logger-class snekbox.GunicornLogger + --access-logformat '%(m)s %(U)s%(q)s %(s)s %(b)s %(L)ss' + --access-logfile - + snekbox.api.app +""" buildbox = "docker build -t pythondiscord/snekbox:latest -f docker/Dockerfile ." pushbox = "docker push pythondiscord/snekbox:latest" buildboxbase = "docker build -t pythondiscord/snekbox-base:latest -f docker/base.Dockerfile ." |