This is a simple Go application that demonstrates how to use Docker and Docker Compose to containerize a Go application.
- Docker
- Docker Compose
- Clone this repository to your local machine:
git clone https://github.com/theakashshukla/Go.git
- Navigate to the project directory:
cd GO
- Start the application using Docker Compose:
docker-compose up --build
-
Open your browser and navigate to
http://localhost:3000
to view the application. -
Stopping the Application
docker-compose down
- Removing the Application
docker-compose down --volumes
To stop the application, press Ctrl + C
in the terminal where the application is running.