{"id":19149468,"url":"https://github.com/epilif3sotnas/learn-docker","last_synced_at":"2026-04-08T18:02:05.115Z","repository":{"id":114111816,"uuid":"501527307","full_name":"epilif3sotnas/learn-docker","owner":"epilif3sotnas","description":"Learn Docker with Flask and PostgreSQL","archived":false,"fork":false,"pushed_at":"2022-10-12T11:57:04.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T19:59:27.704Z","etag":null,"topics":["bash","docker","flask","postgresql","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/epilif3sotnas.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}},"created_at":"2022-06-09T06:14:42.000Z","updated_at":"2022-06-09T11:19:25.000Z","dependencies_parsed_at":"2023-06-13T06:30:19.768Z","dependency_job_id":null,"html_url":"https://github.com/epilif3sotnas/learn-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/epilif3sotnas/learn-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilif3sotnas%2Flearn-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilif3sotnas%2Flearn-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilif3sotnas%2Flearn-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilif3sotnas%2Flearn-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/epilif3sotnas","download_url":"https://codeload.github.com/epilif3sotnas/learn-docker/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/epilif3sotnas%2Flearn-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["bash","docker","flask","postgresql","python3"],"created_at":"2024-11-09T08:08:18.701Z","updated_at":"2026-04-08T18:02:05.086Z","avatar_url":"https://github.com/epilif3sotnas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## About learn-docker\n\nIn this repository was built a simple application to learn docker where the goal is to learn the following concepts:\n\n- Build docker image\n- Configure a flask app and database to run on docker\n- Communicate between flask and database containers\n- Make a request to flask and alter database state\n\n\n## Requirements (Docker images)\n\n- [Python](https://hub.docker.com/_/python)\n- [PostgreSQL](https://hub.docker.com/_/postgres)\n\n\n## Requirements (Flask app) -\u003e requirements.txt\n\n- [Flask](https://pypi.org/project/Flask)\n- [Dataset](https://pypi.org/project/dataset)\n- [Psycopg2](https://pypi.org/project/psycopg2)\n\n\n## Run\n\nCommands to run it:\n\n```\ncd {PATH_REPOSITORY}/scripts\n\n# To create docker image\nbash Build-Docker.sh\n\n# To run containers\nbash Build-Docker.sh\n\n# To create docker image and run containers\nbash Build-Docker.sh\n\n# To stop and remove containers\nbash Build-Docker.sh\n```\n\nThis commands should be running by an order:\n1. Build docker image\n2. Run the containers\n3. Stop and Remove containers\n\n\n## License\n\nLicensed under Apache-2.0 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepilif3sotnas%2Flearn-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fepilif3sotnas%2Flearn-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fepilif3sotnas%2Flearn-docker/lists"}