Now with more .env vars!
This commit is contained in:
@@ -93,6 +93,7 @@ AE_SMTP_USERNAME=send_mail
|
||||
AE_API_ENV=development
|
||||
AE_API_DIR=/srv/aether_api
|
||||
AE_API_LOG_PATH="/logs/aether_api.log"
|
||||
AE_API_GUNICORN_PORT=5065
|
||||
AE_API_GUNICORN_TIMEOUT=2100 # (default=30; should be much higher)
|
||||
AE_API_GUNICORN_GRACEFUL_TIMEOUT=30 # (default=30)
|
||||
AE_API_GUNICORN_KEEPALIVE=30 # (default=2)
|
||||
@@ -112,6 +113,7 @@ AE_APP_DIR=/srv/aether_app
|
||||
AE_APP_LOG_PATH="/logs/aether_app.log"
|
||||
AE_APP_WORKERS=2
|
||||
AE_APP_THREADS=1
|
||||
AE_APP_GUNICORN_PORT=5055
|
||||
AE_APP_GUNICORN_TIMEOUT=1200 # (default=30; should be higher)
|
||||
AE_APP_GUNICORN_GRACEFUL_TIMEOUT=20 # (default=30)
|
||||
AE_APP_GUNICORN_KEEPALIVE=30 # (default=2)
|
||||
|
||||
@@ -230,7 +230,7 @@ services:
|
||||
ports:
|
||||
# host to image
|
||||
# default port is 6379
|
||||
- "6389:6379"
|
||||
- "${AE_REDIS_PORT}:6379"
|
||||
|
||||
aether_api_gunicorn:
|
||||
restart: always
|
||||
@@ -242,7 +242,7 @@ services:
|
||||
env_file:
|
||||
- ./.env
|
||||
ports:
|
||||
- "5065:5005"
|
||||
- "${AE_API_GUNICORN_PORT}:5005"
|
||||
# expose:
|
||||
# - 5005
|
||||
# networks:
|
||||
@@ -323,7 +323,7 @@ services:
|
||||
env_file:
|
||||
- ./.env
|
||||
ports:
|
||||
- "5055:5005"
|
||||
- "${AE_APP_GUNICORN_PORT}:5005"
|
||||
# expose:
|
||||
# - 5005
|
||||
# networks:
|
||||
|
||||
Reference in New Issue
Block a user