From 171ccdc2c4fbf47dccaabfec7caa02b6bb4fa161 Mon Sep 17 00:00:00 2001 From: Mike Liao Date: Wed, 30 Oct 2024 19:21:55 -0700 Subject: [PATCH] update docker files for autentication --- apps/authentication/Dockerfile | 3 +-- sites/authentication/deploy/common/docker-compose.yaml | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/apps/authentication/Dockerfile b/apps/authentication/Dockerfile index 3f6755d..34bdd04 100644 --- a/apps/authentication/Dockerfile +++ b/apps/authentication/Dockerfile @@ -4,8 +4,7 @@ FROM python:3.10-slim-buster ARG CONTAINER_APP_ROOT= ENV APP_NAME= -ENV AZURE_STORAGE_DOCUMENT_API_KEY="" -ENV AZURE_STORAGE_DOCUMENT_API_ENDPOINT="" +ENV JWT_SECRET_KEY="" #site_settings ENV SERVICE_API_ACCESS_HOST=0.0.0.0 diff --git a/sites/authentication/deploy/common/docker-compose.yaml b/sites/authentication/deploy/common/docker-compose.yaml index 5a0e61d..e407d61 100755 --- a/sites/authentication/deploy/common/docker-compose.yaml +++ b/sites/authentication/deploy/common/docker-compose.yaml @@ -1,5 +1,5 @@ services: - central_storage: + authentication: container_name: $APP_NAME build: context: ${CODEBASE_ROOT} @@ -14,11 +14,10 @@ services: - MONGODB_URI=${MONGODB_URI} - SERVICE_API_ACCESS_HOST=${SERVICE_API_ACCESS_HOST} - SERVICE_API_ACCESS_PORT=${SERVICE_API_ACCESS_PORT} - - AZURE_STORAGE_DOCUMENT_API_KEY=${AZURE_STORAGE_DOCUMENT_API_KEY} - - AZURE_STORAGE_DOCUMENT_API_ENDPOINT=${AZURE_STORAGE_DOCUMENT_API_ENDPOINT} - LOG_BASE_PATH=${LOG_BASE_PATH} - BACKEND_LOG_FILE_NAME=${BACKEND_LOG_FILE_NAME} - APPLICATION_ACTIVITY_LOG=${APPLICATION_ACTIVITY_LOG} + - JWT_SECRET_KEY=${JWT_SECRET_KEY} ports: - ${SERVICE_API_ACCESS_PORT}:${SERVICE_API_ACCESS_PORT} command: