{"id":19617618,"url":"https://github.com/macagua/example_docker_mysql_python","last_synced_at":"2026-04-09T02:31:03.421Z","repository":{"id":165339629,"uuid":"619023905","full_name":"macagua/example_docker_mysql_python","owner":"macagua","description":"Examples for deploy a MySQL server with database using Docker and query his data with Python","archived":false,"fork":false,"pushed_at":"2023-05-14T22:20:34.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-05T03:57:18.459Z","etag":null,"topics":["database","deploy","docker","docker-compose","mysql","python","python3","sql","sql-query"],"latest_commit_sha":null,"homepage":"","language":null,"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/macagua.png","metadata":{"files":{"readme":"README.rst","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":"2023-03-26T03:03:56.000Z","updated_at":"2023-03-26T03:05:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"3983fe8c-fc5a-4417-a053-54449c791090","html_url":"https://github.com/macagua/example_docker_mysql_python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/macagua/example_docker_mysql_python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample_docker_mysql_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample_docker_mysql_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample_docker_mysql_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample_docker_mysql_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/macagua","download_url":"https://codeload.github.com/macagua/example_docker_mysql_python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/macagua%2Fexample_docker_mysql_python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31582554,"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":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"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":["database","deploy","docker","docker-compose","mysql","python","python3","sql","sql-query"],"created_at":"2024-11-11T11:04:56.343Z","updated_at":"2026-04-09T02:31:03.401Z","avatar_url":"https://github.com/macagua.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"===========================\nexample_docker_mysql_python\n===========================\n\nExamples for deploy a MySQL server with database using Docker\nand query his data with Python.\n\nInstall\n=======\n\nPre requirements for deploy with Docker, executing the following command:\n\n::\n\n    $ sudo apt update \u0026\u0026 sudo apt upgrade\n    $ sudo apt install build-essential libpq-dev python3-dev\n    $ pip install -U pip\n\nDefine some values for the deploy into the ``.env`` file, executing the\nfollowing command:\n\n::\n\n    $ cd example_docker_mysql_python/\n    $ cp .env.example .env\n    $ nano .env\n\nFor deploy this software stack, you require the following software:\n\n- `Docker Engine \u003chttps://docs.docker.com/engine/\u003e`_.\n\n    - `Docker Engine on Debian \u003chttps://docs.docker.com/engine/install/debian/\u003e`_.\n\n    - `Docker Engine on Ubuntu \u003chttps://docs.docker.com/engine/install/ubuntu/\u003e`_.\n\n- `Docker Compose \u003chttps://docs.docker.com/compose/\u003e`_.\n\n\nUse it\n======\n\nFor run this stack docker containers, executing the following command:\n\n::\n\n    $ sudo docker compose up \u0026\n\nFor stop this stack docker containers, executing the following command:\n\n::\n\n    $ sudo docker compose stop\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacagua%2Fexample_docker_mysql_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmacagua%2Fexample_docker_mysql_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmacagua%2Fexample_docker_mysql_python/lists"}