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}