zkt25/README.md
2025-03-17 18:29:00 +01:00

862 B

MyApp Docker Deployment

Requirements

  • Docker installed
  • Docker Compose (optional)

Description

This application consists of a web service and a database service. The web service listens on port 5000 and interacts with the database service.

Networks and Volumes

  • myapp-network: A bridge network for inter-container communication.
  • myapp-data: A volume to persist database data.

Container Configuration

  • myapp-web: Web service built from ./web directory, exposes port 5000.
  • myapp-db: MySQL database service using the official MySQL 5.7 image.

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:5000.