From cd7b2559392f737dc0ef2c11d816c38b31098baf Mon Sep 17 00:00:00 2001 From: nagyzekkyandras Date: Mon, 13 Nov 2023 12:59:20 +0100 Subject: [PATCH] version update --- Dockerfile | 2 +- README.md | 4 ++++ docker-compose.yml | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9953072..4c7107e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.0.0rc1-fpm +FROM php:8.3.0RC5-fpm # Install system dependencies RUN apt-get update && apt-get install -y git diff --git a/README.md b/README.md index 871eba3..84b23c3 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,10 @@ The following three separate service containers will be used: - Set the MySQL environment variables creating a `.env` file based on the `.env.example` file. +```bash +copy .env.example .env +``` + - Build the app image with the following command: ```bash diff --git a/docker-compose.yml b/docker-compose.yml index 5adc1e8..5771467 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,10 +13,11 @@ services: # MySQL database service db: - image: mysql:5.7 + image: mysql:8 container_name: mysql-db ports: - "3306:3306" + command: --default-authentication-plugin=caching_sha2_password environment: MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} MYSQL_DATABASE: ${DB_DATABASE}