From 80b7210b5770c53d9b44530d7aa35b1adb874086 Mon Sep 17 00:00:00 2001 From: sdp Date: Mon, 29 Jul 2024 17:24:50 -0700 Subject: [PATCH 1/2] Updating README file to properly reflect the file in the repo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f4362e6f..3e90e250 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ The `deploy` directory contains: - `docker-compose.yml` - The Docker compose file. - `.env` - The environment file where you set your AWS credentials, SQS/S3 names, and AWS region. - `https_nginx.conf` - Nginx configuration file used as an entrypoint load balancer. -- `diagnostics.sh`- A script for testing connectivity between services and printing useful information. +- `diagnostic.sh`- A script for testing connectivity between services and printing useful information. - `tls` - A directory for storing TLS certificates (see [Securing Connections with SSL/TLS](#securing-connections-with-ssltls)). - `.htpasswd` - A file for storing basic auth credentials (see above). @@ -164,9 +164,9 @@ docker run --name granulate-gprofiler --restart=always -d --pid=host --userns=ho ``` ### Diagnostics -If a service is restarted or stops, run the diagnostics.sh script to check service connectivity: +If a service is restarted or stops, run the diagnostic.sh script to check service connectivity: ```shell -./diagnostics.sh +./diagnostic.sh ``` If all OK there, take a look at the logs of the service that is not working properly. From e0a6be0ffaac8d83598d53b0fefff9e67b8588f9 Mon Sep 17 00:00:00 2001 From: sdp Date: Mon, 29 Jul 2024 17:29:33 -0700 Subject: [PATCH 2/2] Restricting python version to 3.12.3 so it doesn't get updated in future releases and break functionality (like with 3.12.4) --- src/gprofiler/Dockerfile | 2 +- src/gprofiler_logging/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gprofiler/Dockerfile b/src/gprofiler/Dockerfile index 7b3ce16b..686da304 100644 --- a/src/gprofiler/Dockerfile +++ b/src/gprofiler/Dockerfile @@ -14,7 +14,7 @@ RUN yarn --cwd /frontend/ install COPY gprofiler/frontend /frontend RUN yarn build -FROM python:3.12-bullseye +FROM python:3.12.3-bullseye WORKDIR /usr/src/app EXPOSE 80 diff --git a/src/gprofiler_logging/Dockerfile b/src/gprofiler_logging/Dockerfile index afe66dcd..9820fbd1 100644 --- a/src/gprofiler_logging/Dockerfile +++ b/src/gprofiler_logging/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.12 +FROM python:3.12.3 WORKDIR /app EXPOSE 80