{"id":20335078,"url":"https://github.com/dimaj/alpine-s6-nginx","last_synced_at":"2026-02-25T10:04:33.270Z","repository":{"id":147618872,"uuid":"121902607","full_name":"dimaj/alpine-s6-nginx","owner":"dimaj","description":"Docker container with NGINX and S6 overlay on top of Alpine LInux","archived":false,"fork":false,"pushed_at":"2018-02-18T01:12:24.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T06:49:34.167Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/dimaj.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":"2018-02-17T23:51:51.000Z","updated_at":"2019-12-24T09:36:52.000Z","dependencies_parsed_at":"2023-05-06T04:30:53.228Z","dependency_job_id":null,"html_url":"https://github.com/dimaj/alpine-s6-nginx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimaj/alpine-s6-nginx","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaj%2Falpine-s6-nginx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaj%2Falpine-s6-nginx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaj%2Falpine-s6-nginx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaj%2Falpine-s6-nginx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimaj","download_url":"https://codeload.github.com/dimaj/alpine-s6-nginx/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimaj%2Falpine-s6-nginx/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29817095,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-25T05:36:42.804Z","status":"ssl_error","status_checked_at":"2026-02-25T05:36:31.934Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-14T20:39:08.942Z","updated_at":"2026-02-25T10:04:33.225Z","avatar_url":"https://github.com/dimaj.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# alpine-s6-nginx\nDocker container with NGINX and S6 overlay on top of Alpine Linux\n\n## Usage\n```\ndocker create \\\n    --name nginx \\\n    -v \u003cpath to config folder\u003e:/config\n    -e PUID=\u003cuid\u003e -e PGID=\u003cgid\u003e\n    -e TZ=\u003ctimezone\u003e \\\n    -e EXTRA_PACKAGES=\u003cpackages\u003e\n    -e REPOSITORIES=\u003crepositories\u003e\n    -p 80:80 -p 443:443\n    dimaj/nginx\n```\n\n## Parameters\nparameter name      | required  | description\n--------------      | --------  | -----------\n`-p 80` and `- 443` | yes       | exposed ports\n`-v /config`        | no        | where NGINX configuration lives (e.g. `nginx.conf`)\n`-e PUID`           | no        | User ID of `nginx` user [default 1000]\n`-e PGID`           | no        | Group ID of `www-data` group [default 1000]\n`e TZ`              | no        | Timezone of container. See [wiki](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for valid timezone names\n`-e REPOSITORIES`   | no        | List of package repositories to include in order to install custom packages. Multiple repositories need to be separated by `,`\n`-e EXTRA_PACKAGES` | no        | List of packages to install. Multiple packages need to be separated by `,` or ` ` (space)\n\n### Why do I need to specify `PUID` and `PGID`?\nSometimes there are file permission issues between host and container when `-v` flag is used. To metigate this, you can change the `uid` and `gid` of `nginx` user and `www-data` group to match your ids on your host machine. To find your ids, run the following command:\n```\nid \u003cusername\u003e\n```\n\n## What kind of packages can I install?\nThis image is based off Alipine Linux 3.6. By default the following repositores are included [main](http://dl-4.alpinelinux.org/alpine/v3.6/main) and [community](http://dl-4.alpinelinux.org/alpine/v3.6/community). You may choose to include [releases](http://dl-4.alpinelinux.org/alpine/v3.6/releases) or some other repository.\n\n## Extra options\nIf there is extra processing that you need to do before your container is operational for your purpose, you can add extra init scripts by providing 1 or more script files via\n```\n-v /path/to/my/script/file:/etc/cont-init.d/99-my-script\n```\nNOTE: In the command above, your script does not have to start with `99`, but it **must not** start with either `01`, `02`, `03`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaj%2Falpine-s6-nginx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimaj%2Falpine-s6-nginx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimaj%2Falpine-s6-nginx/lists"}