From 26b215b82f7ca51a22864ce9c5446c3d0774bc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Thu, 24 Jan 2019 13:27:45 +0100 Subject: [PATCH] Remove redundancy in README * Remove executable permissions of docker-compose files (unnecessary) * Remove explicit `-f docker-compose.yml` (unnecessary) `docker-compose` reads [two files by default](https://docs.docker.com/compose/extends/): - docker-compose.yml - docker-compose.override.yml Only specify `-f docker-compose.yml` if you want to override this behaviour. We don't have a `docker-compose.override.yml` so there is no need for this. --- README.md | 6 +++--- docker-compose.install.yml | 0 docker-compose.yml | 0 3 files changed, 3 insertions(+), 3 deletions(-) mode change 100755 => 100644 docker-compose.install.yml mode change 100755 => 100644 docker-compose.yml diff --git a/README.md b/README.md index 21cba8d..f517c30 100644 --- a/README.md +++ b/README.md @@ -97,15 +97,15 @@ Useful commands: Start services ``` -docker-compose -f docker-compose.yml up +docker-compose up ``` Shutdown gracefuly services ``` -docker-compose -f docker-compose.yml down +docker-compose down ``` Re-build images after modifications of docker files ``` -docker-compose -f docker-compose.yml build +docker-compose build #docker-compose -f docker-compose.yml -f docker-compose.install.yml build ph ``` Install base sources codes and populates some data diff --git a/docker-compose.install.yml b/docker-compose.install.yml old mode 100755 new mode 100644 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100755 new mode 100644