summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..a9eb84d
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,16 @@
+.PHONY: run start stop rebuild volumes
+
+run:
+ docker-compose -p adei up
+
+start:
+ docker-compose -p adei start
+
+stop:
+ docker-compose -p adei stop
+
+rebuild:
+ docker-compose -p adei build
+
+volumes:
+ for name in /var/lib/docker/volumes/adei_*; do ln -s $name/_data/ `basename $name | cut -d '_' -f 2`; done