Skip to content

Commit ace51e3

Browse files
committed
add build status; add sample Docker compose file
1 parent b2c694e commit ace51e3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Docker image for php 5.2 legacy projects
22

3+
[![Build Status](https://img.shields.io/docker/build/jrottenberg/ffmpeg.svg)](https://hub.docker.com/r/deminy/php-5.2/)
4+
35
This docker image is intended to work as a replacement for old legacy projects, running on old server.
46

57
Features:
@@ -12,3 +14,17 @@ Features:
1214
* Enable PHP on the default site.
1315
* Allow [short open tag](http://php.net/manual/en/ini.core.php#ini.short-open-tag).
1416
* Various updates and fixes.
17+
18+
# Sample Docker compose file
19+
20+
```yaml
21+
version: '3'
22+
23+
services:
24+
app:
25+
image: deminy/php-5.2
26+
ports:
27+
- "80:80"
28+
volumes:
29+
- ~/projects/example.com:/project
30+
```

0 commit comments

Comments
 (0)