-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 715 Bytes
/
Makefile
File metadata and controls
30 lines (24 loc) · 715 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
default:
echo aha
stop:
docker stop h_directory h_proxy h_webfront h_cache h_storage1 h_storage2
resume:
docker start h_directory
sleep 5
docker start h_proxy h_webfront h_cache h_storage1 h_storage2
clean:
# Containers
docker rm h_directory h_proxy h_webfront h_cache h_storage1 h_storage2
# Network
docker network rm haystack_network
# Remove dangling volumes
docker volume rm `docker volume ls -q -f dangling=true`
scr:
# Stop
docker stop h_directory h_proxy h_webfront h_cache h_storage1 h_storage2
# Clean
docker rm h_directory h_proxy h_webfront h_cache h_storage1 h_storage2
docker network rm haystack_network
docker volume rm `docker volume ls -q -f dangling=true`
# Run
sh run.sh