Skip to content

Commit

Permalink
Merge branch 'release-1.15.12-0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sameer Naik committed Jul 6, 2019
2 parents de64850 + 1335d90 commit ae04f3f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

**latest**
**1.15.12-0**
- nginx: upgrade to 1.15.12

**1.15.8**
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[![Docker Repository on Quay.io](https://quay.io/repository/sameersbn/nginx/status "Docker Repository on Quay.io")](https://quay.io/repository/sameersbn/nginx)

# sameersbn/nginx:1.15.8
# sameersbn/nginx:1.15.12-0

- [Introduction](#introduction)
- [Contributing](#contributing)
Expand Down Expand Up @@ -52,7 +52,7 @@ Automated builds of the image are available on [Dockerhub](https://hub.docker.co
> **Note**: Builds are also available on [Quay.io](https://quay.io/repository/sameersbn/nginx)
```bash
docker pull sameersbn/nginx:1.15.8
docker pull sameersbn/nginx:1.15.12-0
```

Alternatively you can build the image yourself.
Expand All @@ -68,7 +68,7 @@ Start NGINX using:
```bash
docker run --name nginx -d --restart=always \
--publish 80:80 \
sameersbn/nginx:1.15.8
sameersbn/nginx:1.15.12-0
```

*Alternatively, you can use the sample [docker-compose.yml](docker-compose.yml) file to start the container using [Docker Compose](https://docs.docker.com/compose/)*
Expand All @@ -80,7 +80,7 @@ You can customize the launch command of NGINX server by specifying arguments to
```bash
docker run --name nginx -it --rm \
--publish 80:80 \
sameersbn/nginx:1.15.8 -h
sameersbn/nginx:1.15.12-0 -h
```

## Configuration
Expand All @@ -91,7 +91,7 @@ To configure NGINX as per your requirements edit the default [nginx.conf](nginx.
docker run --name nginx -it --rm \
--publish 80:80 \
--volume /srv/docker/nginx/nginx.conf:/etc/nginx/nginx.conf \
sameersbn/nginx:1.15.8
sameersbn/nginx:1.15.12-0
```

To configure virtual hosts, mount the directory containing the virtual host configurations at `/etc/nginx/sites-enabled/`.
Expand All @@ -101,7 +101,7 @@ docker run --name nginx -it --rm \
--publish 80:80 \
--volume /srv/docker/nginx/nginx.conf:/etc/nginx/nginx.conf \
--volume /srv/docker/nginx/sites-enabled:/etc/nginx/sites-enabled \
sameersbn/nginx:1.15.8
sameersbn/nginx:1.15.12-0
```

> **Note**: SELinux users should update the security context of the host mountpoints so that it plays nicely with Docker:
Expand Down Expand Up @@ -134,7 +134,7 @@ To upgrade to newer releases:
1. Download the updated Docker image:

```bash
docker pull sameersbn/nginx:1.15.8
docker pull sameersbn/nginx:1.15.12-0
```

2. Stop the currently running image:
Expand All @@ -154,7 +154,7 @@ To upgrade to newer releases:
```bash
docker run -name nginx -d \
[OPTIONS] \
sameersbn/nginx:1.15.8
sameersbn/nginx:1.15.12-0
```

## Shell Access
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.15.8
1.15.12-0
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
nginx:
image: sameersbn/nginx:1.15.8
image: sameersbn/nginx:1.15.12-0
ports:
- "80:80"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion kubernetes/pod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
containers:
- name: nginx
image: sameersbn/nginx:1.15.8
image: sameersbn/nginx:1.15.12-0
ports:
- containerPort: 80
protocol: TCP

0 comments on commit ae04f3f

Please sign in to comment.