{"id":18485867,"url":"https://github.com/720kb/nginx-docker-container","last_synced_at":"2025-04-08T19:32:57.699Z","repository":{"id":78378234,"uuid":"42141643","full_name":"720kb/nginx-docker-container","owner":"720kb","description":"nginx docker container :whale:","archived":false,"fork":false,"pushed_at":"2018-01-14T14:33:37.000Z","size":36,"stargazers_count":25,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-23T17:45:51.251Z","etag":null,"topics":["bash","docker","docker-container","nginx","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/720kb.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}},"created_at":"2015-09-08T22:08:25.000Z","updated_at":"2023-04-30T00:28:12.000Z","dependencies_parsed_at":"2023-05-27T00:00:25.026Z","dependency_job_id":null,"html_url":"https://github.com/720kb/nginx-docker-container","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/720kb%2Fnginx-docker-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fnginx-docker-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fnginx-docker-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/720kb%2Fnginx-docker-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/720kb","download_url":"https://codeload.github.com/720kb/nginx-docker-container/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247912789,"owners_count":21017045,"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":["bash","docker","docker-container","nginx","shell"],"created_at":"2024-11-06T12:46:52.508Z","updated_at":"2025-04-08T19:32:57.374Z","avatar_url":"https://github.com/720kb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nginx-docker-container\nThis is a container that contains a customized nginx installation with also the capability to add folder without shutting down the container.\n\nnginx-docker-container is developed by [720kb](http://720kb.net).\n\n## Requirements\nThis container needs at least docker v1.8.\n\n## Usage\nDownload the image from hub.docker.com:\n```sh\n  $ docker pull 720kb/nginx\n```\nThen you can run nginx issuing:\n```sh\n  docker run \\\n  --name nginx \\\n  -d \\\n  -h nginx \\\n  --privileged \\\n  -p 0.0.0.0:80:80 \\\n  -p 0.0.0.0:443:443 \\\n  720kb/nginx\n```\nThis bounds nginx to ports 80 and 443, with its configuration in `/opt/nginx-configuration` folder inside the container.\n\nIf you want to apply your nginx configuration that you already have you should:\n1. copy the `add-folder.sh` that is in the `/add-folder` folder (via `docker cp` command) in the host machine;\n2. run `./add-folder.sh \u003cyour_nginx_conf_folder\u003e /opt/nginx-configuration y`;\n\nand wait a bit.\n\nNow the containerized nginx has your configurations.\n\nTo add folders to the container you have to call `./add-folder.sh \u003cyour_folder_to_add\u003e \u003cwhere_you_want_to_put_the_folder_inside_the_container\u003e y`. The only thing to take care is that the folder `\u003cwhere_you_want_to_put_the_folder_inside_the_container\u003e` must be the same in the site configuration inside the configuration folder.\n\n\n## Contributing\n\nWe will be very grateful if you help us making this project grow up.\nFeel free to contribute by forking, opening issues, pull requests etc.\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Dario Andrei, Filippo Oretti\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fnginx-docker-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F720kb%2Fnginx-docker-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F720kb%2Fnginx-docker-container/lists"}