If you want to contact me, you can reach me over Linkedin
The project got prepared by collaborative actions of Aishan
This project is built using Node.js and serves a web application via an Nginx server.
- Docker
- Docker Compose
Follow the steps below to build and deploy the application using Docker and Docker Compose.
First, build the Docker image by running the following command:
docker build -t quick-journey .
Next, use Docker Compose to start the services defined in the docker-compose.yml file:
docker-compose up -d
- The -d flag runs the containers in detached mode.
alternative
docker-compose up --build -d
Once the services are up and running, you can access the application in your web browser at http://localhost:3010.
- Nginx Configuration: Ensure that the
nginx.conf
file is located in the root of your project directory and is correctly configured for your application. - Ports: The application is set to run on port 3010 of your host machine, mapped to port 80 of the Nginx container.
To stop the services, run:
docker-compose down