mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00:00
Update README.md to use 1.5 version and link DockerHub
This commit is contained in:
parent
26b0a0008b
commit
16b84ea1b5
@ -18,7 +18,7 @@ docker run --detach \
|
||||
--name nginx-proxy \
|
||||
--publish 80:80 \
|
||||
--volume /var/run/docker.sock:/tmp/docker.sock:ro \
|
||||
nginxproxy/nginx-proxy:1.4
|
||||
nginxproxy/nginx-proxy:1.5
|
||||
```
|
||||
|
||||
Then start any containers (here an nginx container) you want proxied with an env var `VIRTUAL_HOST=subdomain.yourdomain.com`
|
||||
@ -48,7 +48,7 @@ The nginx-proxy images are available in two flavors.
|
||||
This image is based on the nginx:mainline image, itself based on the debian slim image.
|
||||
|
||||
```console
|
||||
docker pull nginxproxy/nginx-proxy:1.4
|
||||
docker pull nginxproxy/nginx-proxy:1.5
|
||||
```
|
||||
|
||||
#### Alpine based version (`-alpine` suffix)
|
||||
@ -56,14 +56,14 @@ docker pull nginxproxy/nginx-proxy:1.4
|
||||
This image is based on the nginx:alpine image.
|
||||
|
||||
```console
|
||||
docker pull nginxproxy/nginx-proxy:1.4-alpine
|
||||
docker pull nginxproxy/nginx-proxy:1.5-alpine
|
||||
```
|
||||
|
||||
#### :warning: a note on `latest` and `alpine`:
|
||||
|
||||
It is not recommended to use the `latest` (`nginxproxy/nginx-proxy`, `nginxproxy/nginx-proxy:latest`) or `alpine` (`nginxproxy/nginx-proxy:alpine`) tag for production setups.
|
||||
|
||||
Those tags points to the latest commit in the `main` branch. They do not carry any promise of stability, and using them will probably put your nginx-proxy setup at risk of experiencing uncontrolled updates to non backward compatible versions (or versions with breaking changes). You should always specify the version you want to use explicitly to ensure your setup doesn't break when the image is updated.
|
||||
[Those tags point](https://hub.docker.com/r/nginxproxy/nginx-proxy/tags) to the latest commit in the `main` branch. They do not carry any promise of stability, and using them will probably put your nginx-proxy setup at risk of experiencing uncontrolled updates to non backward compatible versions (or versions with breaking changes). You should always specify the version you want to use explicitly to ensure your setup doesn't break when the image is updated.
|
||||
|
||||
### Additional documentation
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user