Skip to content

Commit 74fc8fb

Browse files
committed
CI: fix docker-compose: command not found
1 parent 111d279 commit 74fc8fb

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Ready to run docker containers for php development.
88
1. Configure `.env` if you need.
99
1. Copy `.env`, `docker`, `docker-compose.dev.yml` and `docker-compose.yml` to your app's root folder.
1010
1. Enable dev mode `ln -sr docker-compose.dev.yml docker-compose.override.yml`.
11-
1. Run `docker-compose up -d`.
11+
1. Run `docker compose up -d`.
1212
1. Open in your browser http://localhost:8080/ to access the app.
1313

1414
## Useful tips

dev.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker-compose up --build app web mailhog
3+
docker compose up --build app web mailhog

docker-compose.dev.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '2.4'
21
services:
32
db:
43
ports:

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
version: '2.4'
21
services:
32
redis:
43
image: redis:3

docker/redis-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker-compose exec -T redis redis-cli $@
3+
docker compose exec -T redis redis-cli $@

0 commit comments

Comments
 (0)