-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathMakefile
33 lines (28 loc) · 788 Bytes
/
Makefile
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
31
32
33
.PHONY: build
build:
@cd frontend && npm run build:prod
@echo "[✔️] Frontend build complete!"
certbot-test:
@chmod +x ./webserver/register_ssl.sh
@sudo ./webserver/register_ssl.sh \
--domains "$(DOMAINS)" \
--email $(EMAIL) \
--data-path ./webserver/certbot \
--staging 1
certbot-prod:
@chmod +x ./webserver/register_ssl.sh
@sudo ./webserver/register_ssl.sh \
--domains "$(DOMAINS)" \
--email $(EMAIL) \
--data-path ./webserver/certbot \
--staging 0
deploy-test:
@docker-compose \
-f docker-compose.yml \
-f docker-compose.prod.yml \
up --build --force-recreate
deploy-prod:
@docker-compose \
-f docker-compose.yml \
-f docker-compose.prod.yml \
up -d --build --force-recreate