GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - reddimohan/flask-gunicorn-mongodb-nginx-angular-docker: Dockerizing fullstack application using Flask, Gunicorn, Mongodb, Angular 8, Nginx

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
api
api
 
 
nginx
nginx
 
 
web
web
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 

Repository files navigation

Docker

$ docker --version
Docker version 19.03.4, build 9013bf583a

Dockercompose

$ docker-compose --version
docker-compose version 1.25.0, build 0a186604

Setup

  • coming soon...

Docker commands used in the project

Build image: $ docker build --tag image_name .

Docker run the image on container $ docker run --name container_name --detach -p HOST_PORT:Container_PORT image_name

Docker run image and ssh to the container and remove container on terminal Exit $ docker run -it --rm image_name /bin/bash

Dockercompose command to build and run the container $ docker-compose up --build --detach

Create new mongodb user for the flask API to use

## Create DB name before calling the Flask APIs based on your docker-compose.yml file configuration at 'flask-api' service

use mo
db.createUser(
  {
    user: "test",
    pwd: "test",
    roles: [ { role: "readWrite", db: "mo" } ]
  }
)

About

Dockerizing fullstack application using Flask, Gunicorn, Mongodb, Angular 8, Nginx

Topics

angular8auto-deploymentdockerdocker-composeflaskgunicorn-web-servermongodbmongodb-databasemongodb-ormnginx

Resources

Readme
Activity
Custom properties

Stars

4 stars

Watchers

0 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.