From eb503c5523fff9f4388ff4b0c1b9cbd23d0b17fb Mon Sep 17 00:00:00 2001 From: "Michael (Parker) Parker" Date: Sat, 16 Jul 2022 08:48:40 -0400 Subject: [PATCH] fix docker builds (#4249) Updates php to 8.1 Resolves the issue when running docker-compose unconfigured redirects to https. --- Dockerfile | 2 +- docker-compose.example.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2c743cab2..e215d9406 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN yarn install --frozen-lockfile \ # Stage 1: # Build the actual container with all of the needed PHP dependencies that will run the application. -FROM --platform=$TARGETOS/$TARGETARCH php:7.4-fpm-alpine +FROM --platform=$TARGETOS/$TARGETARCH php:8.1-fpm-alpine WORKDIR /app COPY . ./ COPY --from=0 /app/public/assets ./public/assets diff --git a/docker-compose.example.yml b/docker-compose.example.yml index 1a0159ffe..a0fbaba13 100644 --- a/docker-compose.example.yml +++ b/docker-compose.example.yml @@ -8,7 +8,7 @@ x-common: MYSQL_ROOT_PASSWORD: "CHANGE_ME_TOO" panel: &panel-environment - APP_URL: "https://example.com" + APP_URL: "http://example.com" # A list of valid timezones can be found here: http://php.net/manual/en/timezones.php APP_TIMEZONE: "UTC" APP_SERVICE_AUTHOR: "noreply@example.com"