Use --noreload for permanent server start commands

Without it, the server is highly resource-intensive even when
running idle
This commit is contained in:
Erik Arvstedt
2018-03-23 10:59:52 +01:00
parent f61fa06993
commit 1f2079f65a
4 changed files with 8 additions and 5 deletions

View File

@@ -24,7 +24,7 @@ services:
# value with nothing.
environment:
- PAPERLESS_OCR_LANGUAGES=
command: ["runserver", "--insecure", "0.0.0.0:8000"]
command: ["runserver", "--insecure", "--noreload", "0.0.0.0:8000"]
consumer:
build: ./