Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

NotificationsYou must be signed in to change notification settings

reddimohan/flask-gunicorn-mongodb-nginx-angular-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

$ docker --versionDocker version 19.03.4, build 9013bf583a

Dockercompose

$ docker-compose --versiondocker-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' serviceuse modb.createUser(  {    user:"test",    pwd:"test",    roles: [ { role:"readWrite", db:"mo" } ]  })

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp