Skip to content

Commit 4fcb5a9

Browse files
committed
Docker readme
1 parent f17a3a1 commit 4fcb5a9

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

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

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
12381222

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

@@ -1343,3 +1327,19 @@ The above test run (including starting up the databases) takes less than 5 minut
13431327
As you can see the "run.sh" script gives you access to a prompt in a chosen the docker environment.
13441328
In this environment the local files are mounted. This allows for easy debugging on different environments.
13451329
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.

0 commit comments

Comments
 (0)