From ce5067e4050e0cf3fa6c022bc7e25e5f15261c2a Mon Sep 17 00:00:00 2001
From: Amaury <1293565+amaury1093@users.noreply.github.com>
Date: Wed, 27 Nov 2024 16:41:50 +0100
Subject: [PATCH] fix: Fix dockerfile

---
 backend/Dockerfile          | 2 +-
 backend/scripts/debian11.sh | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/backend/Dockerfile b/backend/Dockerfile
index 7da16a42d..14c7fcd56 100644
--- a/backend/Dockerfile
+++ b/backend/Dockerfile
@@ -44,7 +44,7 @@ ENV RUST_LOG=reacher=info
 ENV RCH__HTTP_HOST=0.0.0.0
 # Currently this Dockerfile is mainly used for single-shot verifications, so we
 # disable the worker by default.
-ENV RCH__WORKER__ENABLED=false
+ENV RCH__WORKER__ENABLE=false
 
 EXPOSE 8080
 
diff --git a/backend/scripts/debian11.sh b/backend/scripts/debian11.sh
index 197e7febf..eb49a36e6 100644
--- a/backend/scripts/debian11.sh
+++ b/backend/scripts/debian11.sh
@@ -26,6 +26,11 @@ RCH__FROM_EMAIL=${RCH__FROM_EMAIL:-"hello@mycompany.com"}
 RCH__HELLO_NAME=${RCH__HELLO_NAME:-"backend1.mycompany.com"}
 # Timeout for SMTP connections in seconds.
 RCH__SMTP_TIMEOUT=${RCH__SMTP_TIMEOUT:-"90"}
+# Proxy settings.
+RCH__PROXY__HOST=${RCH__PROXY__HOST:-}
+RCH__PROXY__PORT=${RCH__PROXY__PORT:-}
+RCH__PROXY__USERNAME=${RCH__PROXY__USERNAME:-}
+RCH__PROXY__PASSWORD=${RCH__PROXY__PASSWORD:-}
 # Logging. Setup to "debug" to show all logs.
 RUST_LOG=${RUST_LOG:-"info"}