File tree Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Expand file tree Collapse file tree 1 file changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -1218,23 +1218,7 @@ server {
1218
1218
}
1219
1219
```
1220
1220
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
1221
+ ### Docker tests
1238
1222
1239
1223
Install docker using the following commands and then logout and login for the changes to take effect:
1240
1224
@@ -1343,3 +1327,19 @@ The above test run (including starting up the databases) takes less than 5 minut
1343
1327
As you can see the "run.sh" script gives you access to a prompt in a chosen the docker environment.
1344
1328
In this environment the local files are mounted. This allows for easy debugging on different environments.
1345
1329
You may type "exit" when you are done.
1330
+
1331
+ ### Docker image
1332
+
1333
+ There is a ` Dockerfile ` in the repository that is used to build an image at:
1334
+
1335
+ [ https://hub.docker.com/r/mevdschee/php-crud-api ] ( https://hub.docker.com/r/mevdschee/php-crud-api )
1336
+
1337
+ ### Docker compose
1338
+
1339
+ This repository also contains a ` docker-compose.yml ` file that can be installed/built/ran using:
1340
+
1341
+ sudo apt install docker-compose
1342
+ docker-compose build
1343
+ docker-compose up
1344
+
1345
+ This will setup a database (MySQL) and a webserver (Apache) and runs the application using the blog example data used in the tests.
You can’t perform that action at this time.
0 commit comments