Skip to content

Commit a1966f5

Browse files
committed
Use Docker Compose plugin
Docker Compose is now a Docker plugin instead of being a separate command. Use `docker compose ...` instead of `docker-compose ...`.
1 parent bd7dd03 commit a1966f5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
start: restore backup
22

33
restore: db
4-
docker-compose up -d restore
4+
docker compose up -d restore
55

66
backup: db
7-
docker-compose up -d backup
7+
docker compose up -d backup
88

99
db:
10-
docker-compose up -d db phpmyadmin
10+
docker compose up -d db phpmyadmin
1111

1212
clean:
13-
docker-compose kill
13+
docker compose kill
1414
docker system prune -f

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Service to backup and/or restore mysql databases to/from S3
3030
This image is built automatically on Docker Hub as [silintl/mysql-backup-restore](https://hub.docker.com/r/silintl/mysql-backup-restore/).
3131

3232
## Playing with it locally
33-
You'll need [Docker](https://www.docker.com/get-docker), [Docker Compose](https://docs.docker.com/compose/install/), and [Make](https://www.gnu.org/software/make/).
33+
You'll need [Docker Engine](https://docs.docker.com/engine/) with the Docker Compose plugin and [Make](https://www.gnu.org/software/make/).
3434

3535
1. cd .../mysql-backup-restore
3636
3. Upload test/world.sql.gz to the S3 bucket.

0 commit comments

Comments
 (0)