{"id":20165121,"url":"https://github.com/hidekuma/docker-nginx-uwsgi-flask","last_synced_at":"2026-03-05T18:03:15.635Z","repository":{"id":113364759,"uuid":"164673088","full_name":"hidekuma/docker-nginx-uwsgi-flask","owner":"hidekuma","description":"docker-nginx-uwsgi-flask","archived":false,"fork":false,"pushed_at":"2019-04-13T04:10:26.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-03T03:23:47.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/hidekuma.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-08T15:03:48.000Z","updated_at":"2019-04-13T04:10:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ac9f271-701b-4ba4-a9ef-02780fba4182","html_url":"https://github.com/hidekuma/docker-nginx-uwsgi-flask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hidekuma/docker-nginx-uwsgi-flask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidekuma%2Fdocker-nginx-uwsgi-flask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidekuma%2Fdocker-nginx-uwsgi-flask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidekuma%2Fdocker-nginx-uwsgi-flask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidekuma%2Fdocker-nginx-uwsgi-flask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hidekuma","download_url":"https://codeload.github.com/hidekuma/docker-nginx-uwsgi-flask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hidekuma%2Fdocker-nginx-uwsgi-flask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30141298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-14T00:36:49.063Z","updated_at":"2026-03-05T18:03:15.613Z","avatar_url":"https://github.com/hidekuma.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Make Flask Web with docker (nginx + uwsgi)\n- docker(18.09)\n- docker-compose(1.23.2)\n\n## Dockerfile\n- ubuntu16.06\n- python\n- uwsgi\n- flask\n\n## Dockerfile.nginx\n- nginx\n\n## dockerfiles/etc/nginx\n- nginx configurations\n\n## dockerfiles/etc/uwsgi\n- uwsgi ini file\n\n---\n# How to work?\nuwsgi가 nginx와 flask를 연결해주는 역할을 하는데, 그 때 uwsgi는 ini파일을 참고하여 socket파일(webserver.sock)을 생성한다. 따라서 해당 socket파일을 볼륨을 떠주고 이 볼륨을 nginx가 볼 수 있게끔 구성하였다.\n\n## Build nginx docker image\n```bash\n$ docker build -f Dockerfile.nginx -t hidekuma-nginx .\n```\n\n## Build uwsgi docker image\n```bash\n$ docker build -t hidekuma-uwsgi .\n```\n\n## Run with docker-compose.yml\n```bash\n$ docker-compose up -d\n```\nSo you can see the directory ('socket'). Docker make socker directory if docker run. And you can change socket`s directory path if you want.(volume config)\n\n## Stop webserver\n```bash\n$ docker-compose down\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidekuma%2Fdocker-nginx-uwsgi-flask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhidekuma%2Fdocker-nginx-uwsgi-flask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhidekuma%2Fdocker-nginx-uwsgi-flask/lists"}