Checking if this works on Linode

This commit is contained in:
Scott Idem
2024-03-30 17:31:16 -04:00
parent acf953439f
commit 653f55b64d
2 changed files with 34 additions and 34 deletions

View File

@@ -71,7 +71,7 @@ server {
server { server {
listen 443 ssl; listen 443 ssl;
listen [::]:443 ssl; listen [::]:443 ssl;
# http2 on; http2 on;
server_name server_name
${DOCKER_AE_API_SERVER_NAME} ${DOCKER_AE_API_SERVER_NAME}
@@ -167,7 +167,7 @@ upstream fastapi_backend {
server aether_api_gunicorn_red:5005 weight=20 max_fails=2 fail_timeout=30s; server aether_api_gunicorn_red:5005 weight=20 max_fails=2 fail_timeout=30s;
server aether_api_gunicorn_green:5005 weight=20 max_fails=2 fail_timeout=30s; server aether_api_gunicorn_green:5005 weight=20 max_fails=2 fail_timeout=30s;
server aether_api_gunicorn_blue:5005 weight=20 max_fails=2 fail_timeout=30s; server aether_api_gunicorn_blue:5005 weight=20 max_fails=2 fail_timeout=30s;
# server aether_api_gunicorn_black:5005 weight=20 max_fails=2 fail_timeout=30s; server aether_api_gunicorn_black:5005 weight=20 max_fails=2 fail_timeout=30s;
# server aether_api_gunicorn_white:5005 weight=20 max_fails=2 fail_timeout=30s; # server aether_api_gunicorn_white:5005 weight=20 max_fails=2 fail_timeout=30s;
# maintain up to 20 idle connections to the group of upstream servers # maintain up to 20 idle connections to the group of upstream servers

View File

@@ -305,41 +305,41 @@ services:
tty: true # docker run -t tty: true # docker run -t
# API - Black # API - Black
# aether_api_gunicorn_black: aether_api_gunicorn_black:
# restart: always restart: always
# container_name: ${CONTAINER_AE_API_BLACK} container_name: ${CONTAINER_AE_API_BLACK}
# build: build:
# # context: ./builds # context: ./builds
# context: ./ context: ./
# dockerfile: aether_fastapi_gunicorn.Dockerfile dockerfile: aether_fastapi_gunicorn.Dockerfile
# env_file: env_file:
# - ./.env - ./.env
# ports: ports:
# - "${AE_API_GUNICORN_PORT_BLACK}:5005" - "${AE_API_GUNICORN_PORT_BLACK}:5005"
# extra_hosts: extra_hosts:
# - "${DOCKER_AE_SERVER_EXTRA_HOST}" - "${DOCKER_AE_SERVER_EXTRA_HOST}"
# - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}" - "${DOCKER_AE_APP_SERVER_EXTRA_HOST}"
# - "${DOCKER_AE_API_SERVER_EXTRA_HOST}" - "${DOCKER_AE_API_SERVER_EXTRA_HOST}"
# - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}" - "${DOCKER_AE_API_BAK_SERVER_EXTRA_HOST}"
# - "${DOCKER_AE_DB_SERVER_EXTRA_HOST}" - "${DOCKER_AE_DB_SERVER_EXTRA_HOST}"
# - "linode.oneskyit.com:104.237.143.4" - "linode.oneskyit.com:104.237.143.4"
# # - "db.oneskyit.com:104.237.143.4" # - "db.oneskyit.com:104.237.143.4"
# volumes: volumes:
# - ./conf/aether_fastapi_gunicorn_conf.py:/conf/gunicorn_fastapi_conf.py - ./conf/aether_fastapi_gunicorn_conf.py:/conf/gunicorn_fastapi_conf.py
# - ./conf/aether_fastapi_requirements_current.txt:/requirements_current.txt - ./conf/aether_fastapi_requirements_current.txt:/requirements_current.txt
# - ./conf/aether_api_config.py:/srv/aether_api/app/config.py - ./conf/aether_api_config.py:/srv/aether_api/app/config.py
# - ./logs/ae_api:/logs - ./logs/ae_api:/logs
# - ./srv/aether_api_ln:/srv/aether_api - ./srv/aether_api_ln:/srv/aether_api
# - ./srv/hosted_files_ln:/srv/hosted_files - ./srv/hosted_files_ln:/srv/hosted_files
# - ./srv/hosted_tmp_ln:/srv/hosted_tmp - ./srv/hosted_tmp_ln:/srv/hosted_tmp
# - ./temp/ae_api:/temp - ./temp/ae_api:/temp
# depends_on: depends_on:
# - redis - redis
# stdin_open: true stdin_open: true
# tty: true tty: true
# API - White # API - White
# aether_api_gunicorn_white: # aether_api_gunicorn_white: