mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-03 09:50:21 +08:00
chore: 将 Gunicorn workers 默认值从 4 调整为 2
This commit is contained in:
@@ -51,7 +51,7 @@ services:
|
|||||||
DATABASE_URL: postgresql://postgres:${DB_PASSWORD}@postgres:5432/aether
|
DATABASE_URL: postgresql://postgres:${DB_PASSWORD}@postgres:5432/aether
|
||||||
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
|
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
|
||||||
# Supervisor 需要的变量
|
# Supervisor 需要的变量
|
||||||
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-4}
|
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-2}
|
||||||
# 容器级别设置
|
# 容器级别设置
|
||||||
TZ: Asia/Shanghai
|
TZ: Asia/Shanghai
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ services:
|
|||||||
DATABASE_URL: postgresql://postgres:${DB_PASSWORD}@postgres:5432/aether
|
DATABASE_URL: postgresql://postgres:${DB_PASSWORD}@postgres:5432/aether
|
||||||
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
|
REDIS_URL: redis://:${REDIS_PASSWORD}@redis:6379/0
|
||||||
# Supervisor 需要的变量
|
# Supervisor 需要的变量
|
||||||
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-4}
|
GUNICORN_WORKERS: ${GUNICORN_WORKERS:-2}
|
||||||
# 容器级别设置
|
# 容器级别设置
|
||||||
TZ: Asia/Shanghai
|
TZ: Asia/Shanghai
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
Reference in New Issue
Block a user