{"id":20619624,"url":"https://github.com/shearichard/dofl","last_synced_at":"2026-04-14T03:32:44.769Z","repository":{"id":44606300,"uuid":"267473183","full_name":"shearichard/dofl","owner":"shearichard","description":"A dockered flask for use in K8S tests","archived":false,"fork":false,"pushed_at":"2023-05-01T23:17:04.000Z","size":54,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-30T19:08:05.685Z","etag":null,"topics":["docker","flask","flyio","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shearichard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2020-05-28T02:21:49.000Z","updated_at":"2022-02-07T05:06:24.000Z","dependencies_parsed_at":"2024-11-20T11:02:36.847Z","dependency_job_id":null,"html_url":"https://github.com/shearichard/dofl","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/shearichard/dofl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shearichard%2Fdofl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shearichard%2Fdofl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shearichard%2Fdofl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shearichard%2Fdofl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shearichard","download_url":"https://codeload.github.com/shearichard/dofl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shearichard%2Fdofl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31781292,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"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":["docker","flask","flyio","python"],"created_at":"2024-11-16T12:12:07.938Z","updated_at":"2026-04-14T03:32:44.745Z","avatar_url":"https://github.com/shearichard.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DOFL\nA simple [Flask](https://palletsprojects.com/p/flask/) app to be put into a [Docker](https://www.docker.com/) container for use as a testbed while doing some [Kubernetes](https://kubernetes.io/) work.  \n\n## Dockerfile\nThe initial version of the Docker file is based on [this blog post](https://hasura.io/blog/how-to-write-dockerfiles-for-python-web-apps-6d173842ae1d/). \n\n## Development Virtenv\nThe name of the development vm is dofl37.\n\nActivate like this ...\n\n```\n. ./dofl37/bin/activate\n```\n\nUsing the [virtualenv.pyz](https://virtualenv.pypa.io/en/stable/installation.html#via-zipapp) instead of installing virtualenv properly due to weirdness arising from the way I have 3.7 installed on the development vm. \n\nThe target python is 3.7 which is installed at /usr/local/bin/python3.7 on the development vm.\n\n\n## Docker Cheat Sheet\n\n```\n$ docker build -t dkr-flsk .;docker image ls;\n...\n$ docker container ls --all\n...\n$ docker rm abdd314c875c\n...\n$ docker container ls --all\n...\n$ docker run -p 8080:8080 -d dkr-flsk\n...\n$ docker container ls --all\n```\n\n\n## Docker perms\nWhen working on a new development machine for the first time remember to [add the current user to the 'docker' group](https://techoverflow.net/2017/03/01/solving-docker-permission-denied-while-trying-to-connect-to-the-docker-daemon-socket/).\n\n```\nsudo usermod -a -G docker $USER\n```\n\nAnd exit your ssh session and reconnect before attempting a `docker build`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshearichard%2Fdofl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshearichard%2Fdofl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshearichard%2Fdofl/lists"}