summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-20 16:16:15 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-20 16:16:15 +0100
commit3d19ce5671e45b8e06a91cb09065d81e22f9d6fd (patch)
treee6221f12bdc4c48f5dc919874265633e3709559c /Makefile
downloadadei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.gz
adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.bz2
adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.tar.xz
adei-3d19ce5671e45b8e06a91cb09065d81e22f9d6fd.zip
Initial import
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