NikRik’s Batangas Lomi atbp., is a startup food business located in Pasay City offering short orders and party trays for their customers such as Specials (lomi, miki guisado, and pansit), A La Carte (crispy pork sisig, creamy tofu, lechon kawali, etc.), Extras (toppings, rice, egg fried rice) and Rice Meals (pork sisig with rice).
-
Download and install Docker.
-
Make sure Docker is running.
-
Open command prompt/Powershell or Git Bash to create the network bridge named
nikriks
for the database and Spring boot backend application.docker network create --subnet=172.18.0.0/16 nikriks
-
Pull the docker images in your local docker installation in the following order: Database, Backend, and Frontend
-
Pull the MySQL image from DockerHub
docker pull zarexalvindaria/nikriksapp-db:latest
-
Run the image under the nikriks network at port 3310
docker run --name nikriksapp-db --network nikriks --ip 172.18.0.2 -p 3310:3306 -d zarexalvindaria/nikriksapp-db:latest
-
Pull Nikrik's Backend Spring Boot image from DockerHub
docker pull zarexalvindaria/nikriksapp-backend:latest
-
Run the image under the nikriks network specifying its ip address and port at 172.18.0.3: 8443
docker run --name nikriksapp-backend --network nikriks --ip 172.18.0.3 -p 8443:8443 -d zarexalvindaria/nikriksapp-backend:latest
The application can now be accessed at https://nikriks.github.io/.