{"id":20009914,"url":"https://github.com/i008/docker-routines","last_synced_at":"2026-05-09T07:37:08.700Z","repository":{"id":138782168,"uuid":"75619419","full_name":"i008/docker-routines","owner":"i008","description":"various python docker routines and snippets","archived":false,"fork":false,"pushed_at":"2017-02-25T21:23:49.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-12T14:37:58.765Z","etag":null,"topics":["docker","flask"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/i008.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2016-12-05T11:42:25.000Z","updated_at":"2017-02-25T21:03:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"4b8c2df5-993c-4cf7-aa39-69afb8a66327","html_url":"https://github.com/i008/docker-routines","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i008%2Fdocker-routines","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i008%2Fdocker-routines/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i008%2Fdocker-routines/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/i008%2Fdocker-routines/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/i008","download_url":"https://codeload.github.com/i008/docker-routines/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241447523,"owners_count":19964314,"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","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":["docker","flask"],"created_at":"2024-11-13T07:17:28.985Z","updated_at":"2026-05-09T07:37:03.678Z","avatar_url":"https://github.com/i008.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#### 1) Multiple flask apps behind nginx proxy \n\n- Use 0.0.0.0 as host-ip in flask (better use a manager like gunicorn to run your apps)  \n- Remember to edit Nginx redirects to match container names in docker-compose  \n\n```bash\ndocker-compose up --build\ncurl http://localhost://app1/hello\nHello from app1\ncurl http://localhost://app2/hello\nHello from app2  \n```\n\n#### docker-shortcuts:\n```bash\n#stop all containers\ndocker stop $(docker ps -a -q)\n\n#remove all containers\ndocker rm $(docker ps -a -q)\n\n# Delete all containers\ndocker rm $(docker ps -a -q)\n# Delete all images\ndocker rmi $(docker images -q)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi008%2Fdocker-routines","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fi008%2Fdocker-routines","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fi008%2Fdocker-routines/lists"}