diff --git a/z1/README.md b/z1/README.md index 4fab113..d45cceb 100644 --- a/z1/README.md +++ b/z1/README.md @@ -4,13 +4,12 @@ This application deploys WordPress with MySQL as the database backend using Dock ## Prerequisites -To run this application, you need: - -- Docker Engine (version 20.10.0 or newer) -- Bash shell environment -- 1GB+ of free RAM -- 1GB+ of free disk space -- Internet connection to pull Docker images +- Docker Engine (version 20.10.0 or newer) +- Bash shell environment +- 1GB+ of free RAM +- 1GB+ of free disk space +- Internet connection to pull Docker images +- A `.env` file at project root with your credentials (see below) ## What the Application Does @@ -36,8 +35,8 @@ These volumes ensure data persistence across container restarts and application ### MySQL Container -- Image: `mysql:5.7` -- Container name: `db` +- Image: `mysql:5.7.42` +- Container name: `db` - Environment variables: - `MYSQL_ROOT_PASSWORD`: Root password for MySQL - `MYSQL_PASSWORD`: Database password for the WordPress user @@ -49,8 +48,8 @@ These volumes ensure data persistence across container restarts and application ### WordPress Container -- Image: `wordpress:latest` -- Container name: `wordpress_app` +- Image: `wordpress:6.2.2-php8.1-apache` +- Container name: `wordpress_app` - Environment variables: - `WORDPRESS_DB_HOST`: Database hostname (db) - `WORDPRESS_DB_USER`: Database username (jawad1)