https://github.com/wiktor-k/alpine-nginx
Latest Nginx on latest Alpine
https://github.com/wiktor-k/alpine-nginx
alpine docker libressl nginx
Last synced: about 1 month ago
JSON representation
Latest Nginx on latest Alpine
- Host: GitHub
- URL: https://github.com/wiktor-k/alpine-nginx
- Owner: wiktor-k
- License: mit
- Created: 2016-02-16T14:58:45.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-09-13T18:53:24.000Z (almost 7 years ago)
- Last Synced: 2026-03-05T04:35:41.905Z (4 months ago)
- Topics: alpine, docker, libressl, nginx
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/wiktork/alpine-nginx
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Alpine Nginx
[](https://travis-ci.org/wiktor-k/alpine-nginx)
Latest Nginx on latest Alpine with latest OpenSSL.
For exact versions see the Dockerfile.
To run it locally on port `8080` use:
docker run --rm -it -p 8080:80 wiktork/alpine-nginx:latest
Use a named tag instead of `latest` to pin versions.
## Configuration
Nginx inside this container is without configuration.
To supply your own configuration files add a volume and explicit option.
Below is a sample Docker Compose file:
```yaml
web:
image: "wiktork/alpine-nginx:1.17.3-3.10-1.1.1d"
command: ["/nginx/sbin/nginx", "-g", "daemon off;", "-c", "/configuration/nginx.conf"]
ports:
- "80:80"
- "443:443"
volumes:
- /configuration:/configuration
restart: unless-stopped
```
This image on [Docker Hub][HUB].
[HUB]: https://hub.docker.com/r/wiktork/alpine-nginx