{"id":25844613,"url":"https://github.com/leoborai/try-docker-python-server","last_synced_at":"2025-03-01T07:31:07.050Z","repository":{"id":104134685,"uuid":"182553664","full_name":"LeoBorai/try-docker-python-server","owner":"LeoBorai","description":"🐳 A pretty simple try on Docker with a server written in Python","archived":false,"fork":false,"pushed_at":"2019-04-21T16:37:21.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-28T20:59:01.020Z","etag":null,"topics":["client","docker","python","server","test"],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/LeoBorai.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":"2019-04-21T15:56:14.000Z","updated_at":"2019-04-21T16:38:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7d45bc6-e7d4-481a-a287-5fc62886d9ab","html_url":"https://github.com/LeoBorai/try-docker-python-server","commit_stats":null,"previous_names":["leoborai/try-docker-python-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Ftry-docker-python-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Ftry-docker-python-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Ftry-docker-python-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeoBorai%2Ftry-docker-python-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeoBorai","download_url":"https://codeload.github.com/LeoBorai/try-docker-python-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241335189,"owners_count":19946060,"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":["client","docker","python","server","test"],"created_at":"2025-03-01T07:31:06.069Z","updated_at":"2025-03-01T07:31:06.979Z","avatar_url":"https://github.com/LeoBorai.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# try-docker-python-server\n🐳 A pretty simple try on Docker with a server written in Python\n\n# Motivation\nLearn more about Docker.\nBased on: [Gael Thomas, How to create a client/server side with Docker-Compose](https://medium.freecodecamp.org/a-beginners-guide-to-docker-how-to-create-a-client-server-side-with-docker-compose-12c8cf0ae0aa)\n\n# Running the Docker Containers\nIn order to accomplish the steps ahead successfully, you must install Docker first.\n[Docker Official Website](https://www.docker.com/get-started)\n\n```bash\n# from repository root directory\ndocker-compose build\n```\n\nThis command will setup the containers.\n\nThen feel free to run the docker-compose as follows:\n```bash\ndocker-compose up\n```\n\nNow open your browser and go to the following URL:\nhttp://localhost:8080/\n\nYou must see an HTML website served by Python's simple HTTP Client.\n\n### Commands for Docker Compose\n\nCommand | Description\n------------ | -------------\n`docker-compose exec \u003cservice name\u003e \u003ccommand\u003e` | Executes a command in the specified container\n`docker-compose ps` | Lists containers\n`docker-compose logs` | Logs from services\n`docker-compose images` | Lists images\n`docker-compose down` | Stops containers and removes images created in this instance of `docker-compose`\n`docker-compose down -v --rmi all --remove-orphans` | Removes all data generated by the specified instance of `docker-compose`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoborai%2Ftry-docker-python-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleoborai%2Ftry-docker-python-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleoborai%2Ftry-docker-python-server/lists"}