diff --git a/applications/aws_dashboard/Dockerfile b/applications/aws_dashboard/Dockerfile index 23da091e5..9ecdff2af 100644 --- a/applications/aws_dashboard/Dockerfile +++ b/applications/aws_dashboard/Dockerfile @@ -25,7 +25,7 @@ COPY nginx.conf /etc/nginx/sites-available/default COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf # Install Sageworks (changes often) -RUN pip install --no-cache-dir sageworks==0.4.11 +RUN pip install --no-cache-dir sageworks==0.4.13 # Copy the current directory contents into the container at /app COPY . /app diff --git a/applications/aws_dashboard/requirements.txt b/applications/aws_dashboard/requirements.txt index 4fe9e6f5e..10a2b858d 100644 --- a/applications/aws_dashboard/requirements.txt +++ b/applications/aws_dashboard/requirements.txt @@ -6,7 +6,10 @@ pandas >= 2.1.2 scikit-learn >= 1.1.1 awswrangler >= 3.4.0 sagemaker >= 2.143 +xgboost >= 2.0.2 plotly >= 5.18.0 dash >= 2.8 dash-bootstrap-components >= 1.5.0 +dash-bootstrap-templates >= 1.1.1 +tabulate >= 0.9.0 diff --git a/docs/admin/docker_push.md b/docs/admin/docker_push.md index a0db25dd0..d90c4d3d9 100644 --- a/docs/admin/docker_push.md +++ b/docs/admin/docker_push.md @@ -10,15 +10,17 @@ cd applications/aws_dashboard vi Dockerfile # Install Sageworks (changes often) -RUN pip install --no-cache-dir sageworks==0.4.11 <-- change this +RUN pip install --no-cache-dir sageworks==0.4.13 <-- change this ``` ### Build the Docker Image **Note:** For a client specific config file you'll need to copy it locally so that it's within Dockers 'build context'. If you're building the 'vanilla' open source Docker image, then you can use the `open_source_config.json` that's in the directory already. +**Note2:** If you're using a specific config **make sure** to remove the AWS_PROFILE line, Docker containers/ECS/etc will use a different mechanism for AWS credientials. + ``` docker build --build-arg SAGEWORKS_CONFIG=open_source_config.json -t \ -sageworks_dashboard:v0_1_9_amd64 --platform linux/amd64 . +sageworks_dashboard:v0_4_13_amd64 --platform linux/amd64 . ``` ### Test the Image Locally @@ -32,16 +34,16 @@ scp_sandbox_admin | docker login --username AWS \ ``` ### Tag/Push the Image to AWS ECR ``` -docker tag sageworks_dashboard:v0_4_11_amd64 \ -public.ecr.aws/m6i5k1r2/sageworks_dashboard:v0_4_1_amd64 +docker tag sageworks_dashboard:v0_4_13_amd64 \ +public.ecr.aws/m6i5k1r2/sageworks_dashboard:v0_4_13_amd64 ``` ``` -docker push public.ecr.aws/m6i5k1r2/sageworks_dashboard:v0_4_11_amd64 +docker push public.ecr.aws/m6i5k1r2/sageworks_dashboard:v0_4_13_amd64 ``` ### Update the 'latest' tag ``` -docker tag public.ecr.aws/m6i5k1r2/sageworks_dashboard:v0_4_11_amd64 \ +docker tag public.ecr.aws/m6i5k1r2/sageworks_dashboard:v0_4_13_amd64 \ public.ecr.aws/m6i5k1r2/sageworks_dashboard:latest ``` ``` diff --git a/requirements.txt b/requirements.txt index 8bbb44c87..7dfbe66e4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -9,6 +9,8 @@ sagemaker >= 2.143 plotly >= 5.18.0 dash >= 2.8 dash-bootstrap-components >= 1.5.0 +dash-bootstrap-templates >= 1.1.1 +tabulate >= 0.9.0 shap>=0.43.0 xgboost>=2.0.2 joblib>=1.3.2 diff --git a/src/sageworks/repl/sageworks_shell.py b/src/sageworks/repl/sageworks_shell.py index 99cb565a0..192069f6f 100644 --- a/src/sageworks/repl/sageworks_shell.py +++ b/src/sageworks/repl/sageworks_shell.py @@ -126,8 +126,8 @@ def check_redis(self) -> str: from sageworks.utils.sageworks_cache import SageWorksCache # Grab the Redis Host and Port - host = self.cm.get_config("REDIS_HOST") - port = self.cm.get_config("REDIS_PORT") + host = self.cm.get_config("REDIS_HOST", "localhost") + port = self.cm.get_config("REDIS_PORT", 6379) # Check if Redis is running locally status = "OK"