Now with more .env vars!

This commit is contained in:
Scott Idem
2023-09-08 15:24:48 -04:00
parent e8e7fc2383
commit 8bf5b49552
2 changed files with 5 additions and 3 deletions

View File

@@ -93,6 +93,7 @@ AE_SMTP_USERNAME=send_mail
AE_API_ENV=development AE_API_ENV=development
AE_API_DIR=/srv/aether_api AE_API_DIR=/srv/aether_api
AE_API_LOG_PATH="/logs/aether_api.log" 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_TIMEOUT=2100 # (default=30; should be much higher)
AE_API_GUNICORN_GRACEFUL_TIMEOUT=30 # (default=30) AE_API_GUNICORN_GRACEFUL_TIMEOUT=30 # (default=30)
AE_API_GUNICORN_KEEPALIVE=30 # (default=2) 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_LOG_PATH="/logs/aether_app.log"
AE_APP_WORKERS=2 AE_APP_WORKERS=2
AE_APP_THREADS=1 AE_APP_THREADS=1
AE_APP_GUNICORN_PORT=5055
AE_APP_GUNICORN_TIMEOUT=1200 # (default=30; should be higher) AE_APP_GUNICORN_TIMEOUT=1200 # (default=30; should be higher)
AE_APP_GUNICORN_GRACEFUL_TIMEOUT=20 # (default=30) AE_APP_GUNICORN_GRACEFUL_TIMEOUT=20 # (default=30)
AE_APP_GUNICORN_KEEPALIVE=30 # (default=2) AE_APP_GUNICORN_KEEPALIVE=30 # (default=2)

View File

@@ -230,7 +230,7 @@ services:
ports: ports:
# host to image # host to image
# default port is 6379 # default port is 6379
- "6389:6379" - "${AE_REDIS_PORT}:6379"
aether_api_gunicorn: aether_api_gunicorn:
restart: always restart: always
@@ -242,7 +242,7 @@ services:
env_file: env_file:
- ./.env - ./.env
ports: ports:
- "5065:5005" - "${AE_API_GUNICORN_PORT}:5005"
# expose: # expose:
# - 5005 # - 5005
# networks: # networks:
@@ -323,7 +323,7 @@ services:
env_file: env_file:
- ./.env - ./.env
ports: ports:
- "5055:5005" - "${AE_APP_GUNICORN_PORT}:5005"
# expose: # expose:
# - 5005 # - 5005
# networks: # networks: