Coder Social home page Coder Social logo

lukemwila / multi-container-nginx-react-node-mongo Goto Github PK

View Code? Open in Web Editor NEW
373.0 20.0 223.0 980 KB

Multi container application with Nginx, React, Node and Mongo DB. This repository also contains Terraform IaC (Infrastructure as Code) for a CICD pipeline to build and push images to DockerHub.

License: MIT License

Dockerfile 1.77% JavaScript 29.71% HTML 3.87% CSS 2.09% HCL 62.56%

multi-container-nginx-react-node-mongo's Introduction

Build & Deploy Multi-Container Applications to AWS

Multi container application with Nginx, React, Node and Mongo DB. This repository also contains Terraform IaC (Infrastructure as Code) for a CICD pipeline to build and push images to DockerHub.

Technical Architecture Diagram

Alt text

multi-container-nginx-react-node-mongo's People

Contributors

lukemwila avatar nanocode012 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

multi-container-nginx-react-node-mongo's Issues

Consider to add LICENSE to repo

Hello, thanks for your work on this repository.

I was planning on re-using this repo in some of my projects, but I notice that there is no License stated on this repo.

Would you please add one?

clients Dockerfile.env comments do not match implementation

At https://github.com/LukeMwila/multi-container-nginx-react-node-mongo/blob/master/client/Dockerfile.dev there seems to be inconsistency between comments and implementation

...
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package.json .

## install only the packages defined in the package-lock.json (faster than the normal npm install)
RUN npm install
...

Potential issues:

  • package.lock.json is not copyed
  • package.lock.json is not used for installation

Is this what the implementation should be looked like?:

...
# A wildcard is used to ensure both package.json AND package-lock.json are copied
COPY package.* .

## install only the packages defined in the package-lock.json (faster than the normal npm install)
RUN npm ci
...

Please share mongo.env

Hi. I have been having a hard time setting up mongodb with compose. I followed the files that you have provided in order to initialise the DB with a user and a database. When the express server tries to connect to the database it throws an error that the user (created in the init-mongo.js file is not found on the database that was chosen in the same file. Mind you I am specifying both variables MONGO_INITDB_ROOT_USERNAME and MONGO_INITDB_ROOT_PASSWORD. Even without them I am getting the same problem.

Curious on how you set this up using the .env file.

mongo.env

hi guys, what would be in mongo.env file? can someone help me.. when i try to docker compose up, im getting user authentication error. i guess that line of code is missing. help please

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.