Skip to content

Commit f17a3a1

Browse files
committed
Update readme
1 parent b7d3f39 commit f17a3a1

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1218,7 +1218,23 @@ server {
12181218
}
12191219
```
12201220

1221-
### Docker
1221+
### Docker image
1222+
1223+
There is a `Dockerfile` in the repository that is used to build an image at:
1224+
1225+
[https://hub.docker.com/r/mevdschee/php-crud-api](https://hub.docker.com/r/mevdschee/php-crud-api)
1226+
1227+
### Docker compose
1228+
1229+
This repository also contains a `docker-compose.yml` file that can be installed/built/ran using:
1230+
1231+
sudo apt install docker-compose
1232+
docker-compose build
1233+
docker-compose up
1234+
1235+
This will setup a database (MySQL) and a webserver (Apache) and runs the application using the blog example data used in the tests.
1236+
1237+
### Dockerized tests
12221238

12231239
Install docker using the following commands and then logout and login for the changes to take effect:
12241240

0 commit comments

Comments
 (0)