Skip to content

Commit 9da3c35

Browse files
committed
Update README.md
1 parent 9b0d54a commit 9da3c35

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
# unb-libraries/docker-nginx-php [![](https://github.com/unb-libraries/docker-nginx-php/workflows/build-test-deploy/badge.svg?branch=2.x)](https://github.com/unb-libraries/docker-nginx-php/actions?query=workflow%3Abuild-test-deploy) [![GitHub license](https://img.shields.io/github/license/unb-libraries/docker-nginx-php)](https://github.com/unb-libraries/lib.unb.ca/blob/prod/LICENSE) ![GitHub repo size](https://img.shields.io/github/repo-size/unb-libraries/docker-nginx-php?label=lean%20repo%20size)
22
A lightweight extensible nginx-php docker image, suitable for development or production deployments.
33

4+
## Usage
5+
This image offers relatively no useful functionality on its own, but serves well as the base of other images. For an example how we extend this image, please see [unb-libraries/docker-nginx-drupal](https://github.com/unb-libraries/docker-drupal).
6+
47
## Branches/Tags
5-
The currently maintained image/tag is **ghcr.io/unb-libraries/nginx-php:2.x**. The 1.x tag exists for legacy purposes only.
8+
The only currently maintained tag is **ghcr.io/unb-libraries/nginx-php:2.x**. The 1.x tag exists for legacy purposes only.
69

710
| Tag | Nginx | Alpine | PHP | Composer |
811
|:--------------------------------------:|-------|--------|-----|----------|
912
| ghcr.io/unb-libraries/nginx-php:2.x | 1.20 | 1.15 | 7.4 | 2.x |
1013
| ghcr.io/unb-libraries/nginx-php:1.x | 1.18 | 1.13 | 7.3 | 1.x |
1114

12-
## Usage
13-
```
14-
docker run \
15-
--rm \
16-
--name nginx \
17-
-v /local/dir:/app/html \
18-
-p 80:80 \
19-
ghcr.io/unb-libraries/nginx-php:2.x
20-
```
21-
2215
## Author / Contributors
2316
This application was created at [![UNB Libraries](https://github.com/unb-libraries/assets/raw/master/unblibbadge.png "UNB Libraries")](https://lib.unb.ca) by the following humans:
2417

0 commit comments

Comments
 (0)