Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ HEALTHCHECK --interval=30s \
CMD curl -f http://localhost:8080/health || exit 1

# Start the application with gunicorn (after waiting for PostgreSQL)
CMD ["/bin/bash", "-c", "wait-for-db.sh gunicorn --bind 0.0.0.0:8080 --workers 2 --threads 2 --timeout 60 --access-logfile - --error-logfile - 'app.main:create_app()'"]
CMD ["/bin/bash", "-c", "wait-for-db.sh gunicorn --bind 0.0.0.0:8080 --workers 1 --threads 4 --timeout 60 --access-logfile - --error-logfile - 'app.main:create_app()'"]
4 changes: 2 additions & 2 deletions terraform/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,13 @@ variable "app_cpu_limit" {
variable "app_memory_request" {
description = "Memory request for application pods"
type = string
default = "512Mi"
default = "768Mi"
}

variable "app_memory_limit" {
description = "Memory limit for application pods"
type = string
default = "1250Mi"
default = "2Gi"
}

# Docker Registry Configuration
Expand Down
Loading