GithubHelp home page GithubHelp logo

aaronkao / docker-mern Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 177 KB

This is an example of a MERN stack deployed locally using Docker through Pulumi.

Python 12.62% Dockerfile 3.80% TypeScript 64.15% HTML 3.23% CSS 16.21%

docker-mern's Introduction

Docker MERN App Example

This is an example of a MERN stack deployed locally through Docker.

arch diagram

Instructions

  • Run Docker daemon
  • Initialize Pulumi stack pulumi stack init dev
  • Set App URL port pulumi config set container_port 5173
  • Execute pulumi up

docker-mern's People

Contributors

aaronkao avatar

Watchers

 avatar

docker-mern's Issues

BUG: Wrong attribute name for mongo_image in file __main__.py

Description:

I discovered that there is an incorrect attribute name for mongo_image in the main.py file (line 55). The current attribute for mongo_image is the latest one and needs to be changed to the name attribute.

Steps to restore:

  1. Open the main.py file.
  2. Look for the declaration of the mongo_image attribute.
  3. Verify the attribute name with the correct name.

Expected result:

The attribute name should be corrected to name='mongo:latest', and mongo_image should end with the name attribute.

Actual result:

The attribute name is incorrect and does not match the name of the image being used.

Suggested solution:

Change the attribute name to the correct name of the image used.

Impact:

This problem causes confusion and leads to errors in the code. Fixing this error will make the code easier to compile.

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.