Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/socheatsok78/docker-nginx-s6
Nginx with s6-overlay
https://github.com/socheatsok78/docker-nginx-s6
alpine docker docker-image nginx nginx-s6 s6-overlay
Last synced: 21 days ago
JSON representation
Nginx with s6-overlay
- Host: GitHub
- URL: https://github.com/socheatsok78/docker-nginx-s6
- Owner: socheatsok78
- License: mit
- Created: 2021-10-14T03:34:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-18T16:21:21.000Z (over 2 years ago)
- Last Synced: 2024-12-15T19:06:34.713Z (26 days ago)
- Topics: alpine, docker, docker-image, nginx, nginx-s6, s6-overlay
- Language: Shell
- Homepage: https://hub.docker.com/r/socheatsok78/nginx-s6
- Size: 124 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### :warning::warning: Warning :warning::warning:
#### You can build your own `nginx` with `s6-overlay` using this module [s6-overlay-nginx-module](https://github.com/socheatsok78/s6-overlay-nginx-module). I recommended that you build your own image instead of using this custom image. But I will continue to support this custom release for quite some time until it is no longer being used.# About
Nginx with [s6-overlay](https://github.com/just-containers/s6-overlay).
[![docker-pull](https://img.shields.io/docker/pulls/socheatsok78/nginx-s6)](https://hub.docker.com/r/socheatsok78/nginx-s6)
---
### Quick reference
- Maintained by: [socheatsok78](https://github.com/socheatsok78/docker-nginx-s6)
- Official repo: https://github.com/nginxinc/docker-nginx
- Official Docker Hub: https://hub.docker.com/_/nginx## Features
- Multi-platform image
- Use official nginx container configurations## Image
| Registry | Image |
| -------------------------------------------------------------------------------------------------- | ------------------------------- |
| [Docker Hub](https://hub.docker.com/r/socheatsok78/nginx-s6) | docker.io/socheatsok78/nginx-s6 |
| [GitHub Package Registry](https://github.com/socheatsok78/docker-nginx-s6/pkgs/container/nginx-s6) | ghcr.io/socheatsok78/nginx-s6 |Following platforms for this image are available:
```
$ docker run --rm mplatform/mquery socheatsok78/nginx-s6:latest
Image: socheatsok78/nginx-s6:latest (digest: sha256:e4bff73f127963083cab672d37bdc40b6bbb64234c090289ad2ba0ff72a142fb)
* Manifest List: Yes (Image type: application/vnd.docker.distribution.manifest.list.v2+json)
* Supported platforms:
- linux/amd64
- linux/arm64
- linux/arm/v7
- linux/arm/v6
```### Supported tags
- `latest`, `mainline`, `alpine`
- `stable`, `stable-alpine`**v1.21**
- `1.21`, `1.21.3`, `1.21.4`, `1.21.5`, `1.21.6`
- `1.21-alpine`, `1.21.3-alpine`, `1.21.4-alpine`, `1.21.5-alpine`, `1.21.6-alpine`**v1.22**
- `1.22`, `1.22.0`
- `1.22-alpine`, `1.22.0-alpine`**v1.23**
- `1.23`, `1.23.0`, `1.23.1`
- `1.23-alpine`, `1.23.0-alpine`, `1.23.1-alpine`## How to use this image
```sh
$ docker run --name some-nginx -v /some/content:/usr/share/nginx/html:ro -d socheatsok78/nginx-s6
```Alternatively, a simple Dockerfile can be used to generate a new image that includes the necessary content (which is a much cleaner solution than the bind mount above):
```Dockerfile
FROM socheatsok78/nginx-s6
COPY static-html-directory /usr/share/nginx/html
```Place this file in the same directory as your directory of content ("static-html-directory"), run `docker build -t some-content-nginx .`, then start your container:
```sh
$ docker run --name some-nginx -d some-content-nginx
```## Documentations
The usage guide are the same as the official [nginx](https://hub.docker.com/_/nginx) docker image.
For s6-overlay usage guide see: https://github.com/just-containers/s6-overlay/#readme
## License
Licensed under the [MIT](LICENSE).