1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 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