This project demonstrates how to containerize a multi-service application using Docker and manage it with Vagrant for development purposes.
This project aims to provide a development environment for a multi-service application using Docker containers managed by Vagrant. It includes configurations for services such as a database, cache, message queue, web application, and web server.
- Docker (to containerize)
- Vagrant (IaC for local)
- MySQL (SQL database)
- Memcached (Database Caching Service)
- RabbitMQ (Broker/queueing agent)
- Tomcat (application server)
- Nginx (web service)
Make sure you have the following installed on your machine:
- Vagrant
- VirtualBox or another supported Vagrant provider
- Clone the repository:
git clone https://github.com/EzgiTastan/VROFILE_PROJECT_ON_CONTAINERS.git
- Navigate to the project directory:
cd ROFILE_PROJECT_ON_CONTAINERS
- Start the Vagrant virtual machine:
vagrant up
- SSH into the virtual machine:
vagrant ssh
- Run Docker Compose:
docker-compose up -d
- To check the IP address and reach the website through it:
ip addr show