|
5 | 5 | "actions": { |
6 | 6 | "down": { |
7 | 7 | "comment": "Stop and destroy the docker containers", |
8 | | - "command": "%action% %args%", |
| 8 | + "command": ["%action% %args%"], |
9 | 9 | "exec": false |
10 | 10 | }, |
11 | 11 | "up": { |
12 | 12 | "comment": "Bring the docker containers up and live", |
13 | | - "command": "%action% %args%", |
| 13 | + "command": ["%action% %args%"], |
14 | 14 | "exec": false |
15 | 15 | }, |
16 | 16 | "pull": { |
17 | 17 | "comment": "Pull the latest versions of docker containers", |
18 | | - "command": "%action% %args%", |
| 18 | + "command": ["%action% %args%"], |
19 | 19 | "exec": false |
20 | 20 | }, |
21 | 21 | "start": { |
22 | 22 | "comment": "Start the docker containers", |
23 | | - "command": "%action% %args%", |
| 23 | + "command": ["%action% %args%"], |
24 | 24 | "exec": false |
25 | 25 | }, |
26 | 26 | "stop": { |
27 | 27 | "comment": "Stop the docker containers", |
28 | | - "command": "%action% %args%", |
| 28 | + "command": ["%action% %args%"], |
29 | 29 | "exec": false |
30 | 30 | }, |
31 | 31 | "ip": { |
32 | 32 | "comment": "Print container IP address", |
33 | 33 | "service": "@host", |
34 | | - "command": "docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' %args%" |
| 34 | + "command": ["docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' %args%"] |
35 | 35 | }, |
36 | 36 | "bash": { |
37 | 37 | "comment": "Open the interactive terminal from default service container", |
38 | | - "command": "%action% %args%" |
| 38 | + "command": ["%action% %args%"] |
39 | 39 | }, |
40 | 40 | "composer": { |
41 | 41 | "comment": "Run the composer command in default service container", |
42 | | - "command": "%action% %args%" |
| 42 | + "command": ["%action% %args%"] |
43 | 43 | }, |
44 | 44 | "node": { |
45 | 45 | "comment": "Run the node command in default service container", |
46 | | - "command": "%action% %args%", |
| 46 | + "command": ["%action% %args%"], |
47 | 47 | "user": "node" |
48 | 48 | }, |
49 | 49 | "npm": { |
50 | 50 | "comment": "Run the npm command in default service container", |
51 | | - "command": "%action% %args%", |
| 51 | + "command": ["%action% %args%"], |
52 | 52 | "user": "node" |
53 | 53 | }, |
54 | 54 | "git": { |
55 | 55 | "comment": "Run the git command in default service container", |
56 | | - "command": "%action% %args%" |
| 56 | + "command": ["%action% %args%"] |
57 | 57 | }, |
58 | 58 | "yarn": { |
59 | 59 | "comment": "Run the yarn command in default service container", |
60 | | - "command": "%action% %args%" |
| 60 | + "command": ["%action% %args%"] |
61 | 61 | } |
62 | 62 | } |
63 | 63 | } |
0 commit comments