From fd81a8ebc9a7699fbcc8c36a6a1ad5a52245f1ab Mon Sep 17 00:00:00 2001 From: Giancarlos Salas Date: Fri, 12 Mar 2021 12:37:37 -0500 Subject: [PATCH] Add missing TRUSTED_PROXIES --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 12bb29e..fe72f4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -26,8 +26,9 @@ RUN composer install --no-interaction --no-dev --optimize-autoloader --ignore-pl FROM php:8.0-alpine -ENV APP_ENV prod -ENV API_TOKEN abcxyz +ENV APP_ENV=prod +ENV API_TOKEN=abcxyz +ENV TRUSTED_PROXIES="127.0.0.1,REMOTE_ADDR" EXPOSE 8080 WORKDIR /var/www/html