Skip to content

kaushikraj/nginx-flask-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask, uWSGI and Nginx in a container with Enivornment Variable.

Argument parameters may not be supplied to a Flask app via docker command line when the entrypoint is supervisord. This sample shows a workaround on how environment variables can be used to achieve the same.

Build and run

  • docker build -t webapp .
  • docker run -d -p 80:80 -e ReturnData="Hello Kaushik" webapp

See the output

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages