File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -1218,7 +1218,23 @@ server {
1218
1218
}
1219
1219
```
1220
1220
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
1222
1238
1223
1239
Install docker using the following commands and then logout and login for the changes to take effect:
1224
1240
You can’t perform that action at this time.
0 commit comments