From 9cb197c4429a348051b66ab9224c305e75a6069e Mon Sep 17 00:00:00 2001 From: Soobin Rho Date: Fri, 21 Oct 2022 04:08:40 -0500 Subject: [PATCH 1/2] docs(): fix an outdated command (docker-compose) 1. There are examples using `docker-compose ...`; so, this commit replaces all mentions of `docker-compose ...` with `docker compose ...` because the latest version of Docker now ships with `docker compose` instead of `docker-compose`. 2. `your docker-compose` -> `your Compose file` While reading the official Docker documentation, I noticed that they normally call it a Compose file. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c43f52e..9416b4d 100644 --- a/README.md +++ b/README.md @@ -142,12 +142,12 @@ FLARUM_ADMIN_MAIL=admin@domain.tld FLARUM_TITLE=Test flarum ``` -Run your docker-compose +Run your Compose file ```sh -docker-compose up -d mariadb +docker compose up -d mariadb # Wait a moment for the creation of the database -docker-compose up -d flarum +docker compose up -d flarum ``` * :warning: Your admin password must contain at least **8 characters** (FLARUM_ADMIN_PASS). From 813cbf33b2c2ea90c317088353efc96d036a1473 Mon Sep 17 00:00:00 2001 From: Soobin Rho Date: Fri, 21 Oct 2022 04:09:49 -0500 Subject: [PATCH 2/2] docs(): fix a typo (Docker-compose.yaml) 1. Change from `Docker-compose.yaml` to `docker-compose.yaml`. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9416b4d..3bd4b4b 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ docker pull mondedie/flarum:latest docker build -t mondedie/flarum:latest https://github.com/mondediefr/docker-flarum.git ``` -#### 2 - Docker-compose.yml +#### 2 - docker-compose.yml ```yml version: "3"