zkt25/README.md
2025-04-02 07:15:09 +00:00

38 lines
842 B
Markdown

# WebApp Docker Deployment
# Requirements -
Docker installed
Docker Compose (optional)
# Description -
This application consists of a web service and a database service. The web service runs on an Apache server with PHP and connects to a MySQL database.
# Networks and Volumes -
my_network: A bridge network for inter-container communication.
# mysql_data -
A volume to persist database data.
# Container Configuration
apache: Web service running Apache with PHP, exposes port 8080.
# mysql -
MySQL database service using the official MySQL image, exposes port 3306.
# Instructions
Prepare the application: ./prepare-app.sh
Start the application: ./start-app.sh
Stop the application: ./stop-app.sh
Remove the application: ./remove-app.sh
# Accessing the Application
Open a web browser and navigate to http://localhost:8080.