-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (24 loc) · 785 Bytes
/
Copy pathMakefile
File metadata and controls
30 lines (24 loc) · 785 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
29
30
#!/usr/bin/make -f
server: .omd-consol-de
docker compose up --build
test: .bin/muffet .omd-consol-de
docker compose --progress=quiet --ansi=never up -d --build --wait --no-color --no-recreate --quiet-pull
docker compose exec site chmod -R 777 public
./.bin/muffet \
http://localhost:1313/docs/snclient/ \
-i 'http://localhost:1313/docs/snclient/' \
--max-connections=50 \
--max-connections-per-host=50 \
--timeout=30
.omd-consol-de:
git clone --depth=1 https://github.com/ConSol-Monitoring/omd-consol-de .omd-consol-de
.bin/muffet:
mkdir -p .bin
GOBIN=$(shell pwd)/.bin go install github.com/raviqqe/muffet/v2@latest
clean:
docker compose down --rmi all
docker compose kill -s INT
docker compose kill
docker compose rm -f
rm -rf .omd-consol-de
rm -rf .bin