Skip to content

Nginx reverse-proxy for Python Flask applications

License

Notifications You must be signed in to change notification settings

sfneal/nginx-flask

Repository files navigation

sfneal/nginx-flask

Build Status Total Downloads Latest Version

nginx-flask is a Nginx webserver for Python Flask applications that can be configured with a few environment variables

Installation

Docker images can be pulled using the Docker CLI.

docker pull stephenneal/nginx-flask:1.19-alpine-v1

Usage

Add a 'webserver' container for your Python Flask application.

webserver:
  image: stephenneal/nginx-flask:1.19-alpine-v1
  container_name: webserver
  ports:
    - 5000:4000
  environment:
    - service=api-media # Python Flask app container name
    - port=5000
  depends_on:
    - api-media # Python Flask app container name
  networks:
    - app-network

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email stephen.neal14@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.