{"id":19687207,"url":"https://github.com/trinitronx/docker-python-simplehttpserver","last_synced_at":"2025-04-29T07:34:17.002Z","repository":{"id":55885564,"uuid":"47061735","full_name":"trinitronx/docker-python-simplehttpserver","owner":"trinitronx","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-25T19:15:50.000Z","size":32,"stargazers_count":10,"open_issues_count":0,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T14:01:51.965Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","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/trinitronx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["trinitronx"],"liberapay":"trinitronx","custom":["https://paypal.me/JamesCuzella"]}},"created_at":"2015-11-29T11:57:01.000Z","updated_at":"2024-10-07T10:33:50.000Z","dependencies_parsed_at":"2022-08-15T08:40:16.009Z","dependency_job_id":null,"html_url":"https://github.com/trinitronx/docker-python-simplehttpserver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-python-simplehttpserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-python-simplehttpserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-python-simplehttpserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trinitronx%2Fdocker-python-simplehttpserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trinitronx","download_url":"https://codeload.github.com/trinitronx/docker-python-simplehttpserver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251456073,"owners_count":21592290,"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-11-11T18:33:23.846Z","updated_at":"2025-04-29T07:34:11.994Z","avatar_url":"https://github.com/trinitronx.png","language":"Ruby","funding_links":["https://github.com/sponsors/trinitronx","https://liberapay.com/trinitronx","https://paypal.me/JamesCuzella","https://en.liberapay.com/trinitronx","https://liberapay.com/trinitronx/donate"],"categories":[],"sub_categories":[],"readme":"Docker Python SimpleHTTPServer\n==============================\n[![Build Status](https://img.shields.io/travis/trinitronx/docker-python-simplehttpserver.svg)](https://travis-ci.org/trinitronx/docker-python-simplehttpserver)\n[![Docker Pulls](https://img.shields.io/docker/pulls/trinitronx/python-simplehttpserver.svg)](https://hub.docker.com/r/trinitronx/python-simplehttpserver)\n[![Docker Stars](https://img.shields.io/docker/stars/trinitronx/python-simplehttpserver.svg)](https://hub.docker.com/r/trinitronx/python-simplehttpserver)\n[![Liberapay goal progress](https://img.shields.io/liberapay/goal/trinitronx.svg)](https://en.liberapay.com/trinitronx)\n[![Donate using Liberapay](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/trinitronx/donate)\n\nA Simple \u0026 Compact (\u003c ~8.5 MB) Python webserver in a Docker Container.\n\nBy default, listens on port `8080`\n\nTo serve files, volume mount a directory to `/var/www` inside the container.\n\nExample Usage\n-------------\n\nTo listen on port `8080` and serve files from directory `/tmp/` on the host:\n\n    sudo docker run -d -v /tmp/:/var/www:ro -p 8080:8080 trinitronx/python-simplehttpserver\n\nTo listen on port `80` and serve files from directory `/home/foo` on the host:\n\n    sudo docker run --name python_simplehttpserver -d -v /home/foo:/var/www:ro -p 80:8080 trinitronx/python-simplehttpserver\n\nTo run server so it is only accessible to linked containers:\n\n    sudo docker run --name python_simplehttpserver -d -v /tmp/:/var/www:ro -p 8080:8080 trinitronx/python-simplehttpserver\n    # Then run your container \u0026 link it...\n    sudo docker run -ti --link python_simplehttpserver busybox wget -O -  http://python_simplehttpserver:8080/\n    \n    # Another example:\n    # Use with trinitronx/fastest-servers as a MIRRORLIST_HOST for serving up mirrors.txt file for fastest-servers.rb to filter down to fastest found\n    sudo docker run -ti --link python_simplehttpserver -e FASTEST_SERVER_DEBUG=true -e MIRRORLIST_HOST=python_simplehttpserver -e MIRRORLIST_PORT=8080 -v /tmp/:/tmp/ trinitronx/fastest-servers\n\n\nSponsor\n-------\n\nIf you find this project useful and appreciate my work,\nwould you be willing to click one of the buttons below to Sponsor this project and help me continue?\n\n- \u003cnoscript\u003e\u003ca href=\"https://github.com/sponsors/trinitronx\"\u003e:heart: Sponsor\u003c/a\u003e\u003c/noscript\u003e\n- \u003cnoscript\u003e\u003ca href=\"https://liberapay.com/trinitronx/donate\"\u003e\u003cimg alt=\"Donate using Liberapay\" src=\"https://liberapay.com/assets/widgets/donate.svg\"\u003e\u003c/a\u003e\u003c/noscript\u003e\n- \u003cnoscript\u003e\u003ca href=\"https://paypal.me/JamesCuzella\"\u003e\u003cimg src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif\" border=\"0\" alt=\"Donate with PayPal\" /\u003e\u003c/a\u003e\u003c/noscript\u003e\n\nEvery little bit is appreciated! Thank you! 🙏\n\n\nLicense\n-------\n\nThis project is licensed under the [GNU GPLv3][1].  See `LICENSE` file for full text.\n\n[1]: https://choosealicense.com/licenses/gpl-3.0/#\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fdocker-python-simplehttpserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrinitronx%2Fdocker-python-simplehttpserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrinitronx%2Fdocker-python-simplehttpserver/lists"}