aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--GNUmakefile8
2 files changed, 7 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 07fc363..28da172 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
.emacs*
.env
+local.yml
*~
\#*
diff --git a/GNUmakefile b/GNUmakefile
index 1f35b28..e5e91b5 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,6 +1,10 @@
PROJECT = gcidedock
-command = docker compose -p $(PROJECT) -f dicodock/docker-compose.yml -f docker-compose.override.yml
-
+command = docker compose -p $(PROJECT) \
+ -f dicodock/docker-compose.yml \
+ -f docker-compose.override.yml
+ifneq (,$(wildcard local.yml))
+ command += -f local.yml
+endif
ifneq (,$(wildcard .env))
command += --env-file .env
include .env

Return to:

Send suggestions and report system problems to the System administrator.