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
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
- A `.env` file at project root with your credentials (see below)
## What the Application Does
@ -36,7 +35,7 @@ These volumes ensure data persistence across container restarts and application
### MySQL Container
- Image: `mysql:5.7`
- Image: `mysql:5.7.42`
- Container name: `db`
- Environment variables:
- `MYSQL_ROOT_PASSWORD`: Root password for MySQL
@ -49,7 +48,7 @@ These volumes ensure data persistence across container restarts and application
### WordPress Container
- Image: `wordpress:latest`
- Image: `wordpress:6.2.2-php8.1-apache`
- Container name: `wordpress_app`
- Environment variables:
- `WORDPRESS_DB_HOST`: Database hostname (db)