{"id":18187933,"url":"https://github.com/geschke/docker-nginx-swrm","last_synced_at":"2026-02-24T05:40:55.617Z","repository":{"id":71169362,"uuid":"127189656","full_name":"geschke/docker-nginx-swrm","owner":"geschke","description":"This is a minimal Nginx Docker image based on Ubuntu 22.04 LTS","archived":false,"fork":false,"pushed_at":"2025-04-13T09:30:06.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-27T10:06:28.266Z","etag":null,"topics":["docker","nginx","nginx-configuration","nginx-swrm","ubuntu-server","ubuntu2204lts"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/geschke.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,"zenodo":null}},"created_at":"2018-03-28T19:41:28.000Z","updated_at":"2025-04-13T09:30:10.000Z","dependencies_parsed_at":"2024-04-14T15:34:33.568Z","dependency_job_id":"a485fb78-e3b7-4bd3-a9ff-ddaaf71d1035","html_url":"https://github.com/geschke/docker-nginx-swrm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geschke/docker-nginx-swrm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geschke%2Fdocker-nginx-swrm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geschke%2Fdocker-nginx-swrm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geschke%2Fdocker-nginx-swrm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geschke%2Fdocker-nginx-swrm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geschke","download_url":"https://codeload.github.com/geschke/docker-nginx-swrm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geschke%2Fdocker-nginx-swrm/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262235779,"owners_count":23279566,"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":["docker","nginx","nginx-configuration","nginx-swrm","ubuntu-server","ubuntu2204lts"],"created_at":"2024-11-03T02:04:06.311Z","updated_at":"2026-02-24T05:40:50.582Z","avatar_url":"https://github.com/geschke.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# geschke/nginx-swrm\n\nThis is a minimal Nginx Docker image based on different Ubuntu LTS versions.\n\n\n## Update (October 3, 2024)\n\n### New Build Schema\n\nThe build schema has been updated for better efficiency, flexibility, and speed. Git tags are no longer used to version Docker images, and they are now deprecated. All future images will follow the new tagging structure. \n\n### Latest Image Update\n\nThe `latest` Docker image has shifted from the previous `ubuntu22.04` base (tagged `latest`) to the new `ubuntu24.04` base, now tagged as `1.24-n`. Please update your workflows accordingly if you rely on the `latest` tag.\n\n## Supported Nginx versions\n\n* 1.24 - Nginx 1.24 included in the current Ubuntu 24.04 LTS distribution, this version is also tagged as `latest`\n* 1.18 - Nginx 1.18 included in the Ubuntu 22.04 LTS distribution\n\n## Usage\n\nThis image is intended for running as webserver component in a Docker swarm mode environment.\n\nTo download the container run\n\n```bash\n    docker pull geschke/nginx-swrm\n```\n\nTo start, put the Nginx configuration in some directory and let the system run.\n\n```bash\n    sudo docker run -d --name nginx --restart=always \\\n        -v /srv/docker/nginx/sites-enabled:/etc/nginx/sites-enabled \\\n        -v /srv/docker/nginx/conf.d:/etc/nginx/conf.d \\\n        --publish \u003cport_on_host\u003e:80 --link whatever:you_like \\\n        geschke/nginx-swrm\n```\n\nThere is an example of a configuration as reverse proxy in the `files/sites-enabled/` directory. Please put your configuration files into a similar directory on your server.\n\nExample of filesystem:\n\n```bash\n/srv/docker/nginx/\n    sites-enabled/\n    conf.d/\n    www/\n```\n\nIf you start the Nginx container with the above command, put the (virtual) hosts configuration into the `sites-enabled` directory. This is similar to the Ubuntu approach, only without using symlinks.\n\nYou'll find an initial Nginx configuration in the Github project.\n\n## Usage example with Docker swarm mode\n\nHave a look at some blog articles at [www.kuerbis.org](https://www.kuerbis.org) (German only, please use Google Translate).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeschke%2Fdocker-nginx-swrm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeschke%2Fdocker-nginx-swrm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeschke%2Fdocker-nginx-swrm/lists"}