assignment1 improvments
This commit is contained in:
parent
198f084bd2
commit
c7786bb9df
@ -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)
|
- Docker Engine (version 20.10.0 or newer)
|
||||||
- Bash shell environment
|
- Bash shell environment
|
||||||
- 1GB+ of free RAM
|
- 1GB+ of free RAM
|
||||||
- 1GB+ of free disk space
|
- 1GB+ of free disk space
|
||||||
- Internet connection to pull Docker images
|
- Internet connection to pull Docker images
|
||||||
|
- A `.env` file at project root with your credentials (see below)
|
||||||
|
|
||||||
## What the Application Does
|
## What the Application Does
|
||||||
|
|
||||||
@ -36,7 +35,7 @@ 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
|
||||||
@ -49,7 +48,7 @@ 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)
|
||||||
|
Loading…
Reference in New Issue
Block a user