{"id":16135298,"url":"https://github.com/xnuinside/python-docker-sample","last_synced_at":"2025-04-06T16:18:16.160Z","repository":{"id":116643688,"uuid":"337347079","full_name":"xnuinside/python-docker-sample","owner":"xnuinside","description":"Simple Python Server with connection to DB in docker-compose","archived":false,"fork":false,"pushed_at":"2021-02-09T10:03:42.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-12T22:17:39.213Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/xnuinside.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":"2021-02-09T09:04:03.000Z","updated_at":"2021-02-09T10:03:44.000Z","dependencies_parsed_at":"2023-03-13T12:57:03.933Z","dependency_job_id":null,"html_url":"https://github.com/xnuinside/python-docker-sample","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"5c0f10f24485f9451df2939c8c11cbe36e56f081"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnuinside%2Fpython-docker-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnuinside%2Fpython-docker-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnuinside%2Fpython-docker-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xnuinside%2Fpython-docker-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xnuinside","download_url":"https://codeload.github.com/xnuinside/python-docker-sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247509241,"owners_count":20950232,"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":[],"created_at":"2024-10-09T23:06:51.945Z","updated_at":"2025-04-06T16:18:16.126Z","avatar_url":"https://github.com/xnuinside.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Simple Python project as Example Python in Docker-Compose\n\nRuns DB \u0026 python server with connection to DB\nIf all ok - you will see a print with Success message like 'Connected to PostgreSQL'.\n\nDB settings stored as environment variables:\n\n- DB_PASS\n- DB_LOGIN\n- DB_HOST\n- DB_PORT\n- DB_NAME\n\nTo test, what you can access server from localhost send get request to '/ping' endpoint, like:\n\nhttp://0.0.0.0:8080/ping\n\nAnswer will be 'pong'.\n\n\n### How to use\n\n\n```bash\n\n    git clone https://github.com/xnuinside/python-docker-sample.git\n    cd python-docker-sample\n    docker-compose up --build\n\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnuinside%2Fpython-docker-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxnuinside%2Fpython-docker-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxnuinside%2Fpython-docker-sample/lists"}