You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* docker-compose-dev.yml: generate automatically folders and require-dev dependencies on your local workspace including Xdebug, however the yaml file has a key called:
18
-
"XDEBUG_MODE", this yaml by default has the value true (1) to install it.
24
+
* docker-compose-dev.yml: generate automatically folders and require-dev dependencies on your local workspace including Xdebug.
25
+
Note: the yaml file has a key called:"XDEBUG_MODE", this yaml by default has the value true (1) to install it.
19
26
20
27
You can appreciate the dependencies generated automatically on your workspace!
21
28
22
29
### Play with Docker Mode
23
-
* docker-compose-pwd.yml: you can [](http://play-with-docker.com?stack=https://raw.githubusercontent.com/jfernancordova/docker-laravel-api-dev/feature/refactoring/docker-compose-pwd.yml), to visualize this environment and test it, however you should see the container lists to verify the HEALTHCHECK.
30
+
31
+
[](http://play-with-docker.com?stack=https://raw.githubusercontent.com/jfernancordova/docker-laravel-api-dev/feature/refactoring/docker-compose-pwd.yml)
32
+
33
+
* docker-compose-pwd.yml: you can use it to visualize this environment and test it, however you should see the container lists to verify the HEALTHCHECK.
24
34
25
35
```bash
26
36
# container lists
@@ -29,9 +39,13 @@ docker ps
29
39
normally the process begins in starting mode (health: starting),
30
40
```
31
41
### Production Mode
32
-
* docker-compose-prod.yml: if you are going to use this yaml, make sure to generate the migrations before!, however you can modify the entrypoint to generate them.
42
+
* docker-compose-prod.yml: if you are going to use this yaml, make sure to generate the migrations before!,you can modify the entrypoint to generate them.
43
+
44
+
## Deployment
45
+
46
+
### Docker Environments
33
47
34
-
## Docker Environments
48
+
Clone this respository and run the following commands based on your orchestrator;
35
49
36
50
### Swarm Mode
37
51
Clone this respository and run the following commands:
@@ -50,6 +64,13 @@ or to see the logs
50
64
docker-compose -f docker-compose-dev.yml up
51
65
# wait for the HEALTHCHECK in healthy mode
52
66
```
67
+
## Running the tests
68
+
69
+
You have a [Travis](https://travis-ci.org/) Pipeline to apply Continous Integration, and other technology to test this environment.
70
+
71
+
You can modify the runtests.sh from the [scripts folder](https://raw.githubusercontent.com/jfernancordova/docker-laravel-api-dev/master/scripts/runtests.sh)
72
+
73
+
Insert jobs, instructions, builds in [this pipeline](https://raw.githubusercontent.com/jfernancordova/docker-laravel-api-dev/master/.travis.yml)
0 commit comments