From 7d3983d2ec15a606c470d436a4c500d9c056444c Mon Sep 17 00:00:00 2001 From: wengtad Date: Fri, 2 Jul 2021 04:42:40 +0800 Subject: [PATCH] remove tmpfs (#603) --- docker-compose.yml | 2 -- docs/docs/documentation/getting-started/install.md | 4 ---- gunicorn_conf.py | 1 - 3 files changed, 7 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 804f3f5e9922..0c6da90d35fb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -23,8 +23,6 @@ services: # MAX_WORKERS: 8 WEB_CONCURRENCY: 2 - tmpfs: - - /mem:size=64m,mode=1777,noatime postgres: container_name: postgres image: postgres diff --git a/docs/docs/documentation/getting-started/install.md b/docs/docs/documentation/getting-started/install.md index 0f12c77b57bd..056b0a4e377e 100644 --- a/docs/docs/documentation/getting-started/install.md +++ b/docs/docs/documentation/getting-started/install.md @@ -51,8 +51,6 @@ services: WEB_CONCURRENCY: 2 volumes: - ./mealie/data/:/app/data - tmpfs: - - /mem:size=64m,mode=1777,noatime ``` ## Docker Compose with Postgres _(BETA)_ @@ -87,8 +85,6 @@ services: WEB_CONCURRENCY: 2 volumes: - ./mealie/data/:/app/data - tmpfs: - - /mem:size=64m,mode=1777,noatime postgres: container_name: postgres image: postgres diff --git a/gunicorn_conf.py b/gunicorn_conf.py index 50305f89d9f6..c48c93ef3c3a 100644 --- a/gunicorn_conf.py +++ b/gunicorn_conf.py @@ -43,7 +43,6 @@ loglevel = use_loglevel workers = web_concurrency bind = use_bind errorlog = use_errorlog -worker_tmp_dir = "/mem" # "/dev/shm" accesslog = use_accesslog graceful_timeout = int(graceful_timeout_str) timeout = int(timeout_str)