assignment1 improvments

This commit is contained in:
Sayed Jawad Hussaini 2025-04-24 01:44:24 +02:00
parent 198f084bd2
commit c7786bb9df

View File

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