{"id":35016055,"url":"https://github.com/sladkovm/docker-flask-gunicorn-nginx","last_synced_at":"2025-12-27T05:20:00.794Z","repository":{"id":47125065,"uuid":"102658304","full_name":"sladkovm/docker-flask-gunicorn-nginx","owner":"sladkovm","description":"Bootstrap example of a Flask app served via Gunicorn and Nginx using Docker conteiners","archived":false,"fork":false,"pushed_at":"2022-12-08T01:34:06.000Z","size":514,"stargazers_count":159,"open_issues_count":6,"forks_count":54,"subscribers_count":11,"default_branch":"master","last_synced_at":"2023-11-07T19:18:08.237Z","etag":null,"topics":["dash","docker","flask","gunicorn","nginx","plotly-dash"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sladkovm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-06T21:06:22.000Z","updated_at":"2023-11-07T12:46:32.000Z","dependencies_parsed_at":"2023-01-24T06:31:08.805Z","dependency_job_id":null,"html_url":"https://github.com/sladkovm/docker-flask-gunicorn-nginx","commit_stats":null,"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/sladkovm/docker-flask-gunicorn-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sladkovm%2Fdocker-flask-gunicorn-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sladkovm%2Fdocker-flask-gunicorn-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sladkovm%2Fdocker-flask-gunicorn-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sladkovm%2Fdocker-flask-gunicorn-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sladkovm","download_url":"https://codeload.github.com/sladkovm/docker-flask-gunicorn-nginx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sladkovm%2Fdocker-flask-gunicorn-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28072877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-27T02:00:05.897Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dash","docker","flask","gunicorn","nginx","plotly-dash"],"created_at":"2025-12-27T05:20:00.349Z","updated_at":"2025-12-27T05:20:00.780Z","avatar_url":"https://github.com/sladkovm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blueprint for docker-flask-gunicorn-nginx web application\n\n![Example App](app_example.jpg?raw=true \"Example App\")\n\nBootstrap example of a *Flask/Dash* app served via *Gunicorn* and *Nginx* using Docker containers\n\nGuildeline article can be found at https://sladkovm.github.io/webdev/2017/10/16/Deploying-Plotly-Dash-in-a-Docker-Container-on-Digitital-Ocean.html\n\n## Run\n\n```bash\nmake build\n```\n\nIn your browser (assuming the docker-machine runs on 192.168.99.100) go to:\n\n    http://192.168.99.100\n\nTo clean up the container mess, run\n```\nmake clean\n```\n\nIt will shut down all container and remove all images\n\n## Prominent features:\n\n1. Dockerized application orchestrated by docker-compose\n2. Gunicorn as a WSGI and Nginx as a reverse proxy are included as services\n3. Nginx is configured to serve static files, e.g. images, css etc.\n4. Example of routing implementation in *Dash* app is shown\n5. Build process uses *requirements.txt*, but *Pipenv* files are included to ease the development process\n6. Bootstrap css is included\n7. Standard Single Page App Layout with Header, Main and Footer is set up\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsladkovm%2Fdocker-flask-gunicorn-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsladkovm%2Fdocker-flask-gunicorn-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsladkovm%2Fdocker-flask-gunicorn-nginx/lists"}