diff --git a/docs/compose/README.md b/docs/compose/README.md index d564e65..5f6957d 100644 --- a/docs/compose/README.md +++ b/docs/compose/README.md @@ -2,7 +2,9 @@ ## Prerequisites -Before you start, make sure you have Docker and Docker Compose installed on your system. You will also need to clone the repository containing the Docker Compose file and related configuration files. +Before you start, make sure you have Docker and Docker Compose installed on your +system. You will also need to clone the repository containing the Docker Compose +file and related configuration files. ## Configuration @@ -10,7 +12,8 @@ Before you start, make sure you have Docker and Docker Compose installed on your Set the necessary environment variables before starting the application: -- `CONTAINER_PASSWORD`: Password used internally by containers. Set this in your environment or directly in the Docker Compose file. +- `CONTAINER_PASSWORD`: Password used internally by containers. Set this in your +environment or directly in the Docker Compose file. - `WHYLABS_API_KEY`: API key for WhyLabs integration. Example: @@ -63,8 +66,8 @@ Example for Guardrails: ```yaml resources: limits: - cpus: '2.0' # From 4.0 to 2.0 for example - memory: 2048M # From 4096M to 2048M for example + cpus: '6.0' # From 4.0 to 6.0 for example + memory: 8192M # From 6144M to 8192M for example ``` ### Updating the Image and Tag diff --git a/docs/compose/compose.yaml b/docs/compose/compose.yaml index 7d6f077..22ce306 100644 --- a/docs/compose/compose.yaml +++ b/docs/compose/compose.yaml @@ -20,16 +20,16 @@ services: source: temp-dir target: /tmp deploy: - replicas: 4 + replicas: 3 restart_policy: condition: on-failure resources: limits: cpus: '4.0' - memory: 4096M + memory: 6144M reservations: cpus: '4.0' - memory: 4096M + memory: 6144M nginx: image: nginx:latest