-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
29 lines (21 loc) · 760 Bytes
/
Makefile
File metadata and controls
29 lines (21 loc) · 760 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
SHELL := /bin/bash
.PHONY: help
help: ## show this help dynamically
@echo "Usage: make [target]"
@echo ""
@echo "Targets:"
@egrep "^(.+)\:\ ##\ (.+)" ${MAKEFILE_LIST} | column -t -c 2 -s ':#'
build: ## build the docker container
docker compose build
up: ## start the docker container
docker compose up --wait
down: ## stop the docker container
docker compose down
restart: ## restart the docker container
docker compose restart
status: ## show the status of the docker container
docker compose ps
install: ## install pre-requisites
sudo apt install mkcert libnss3-tools
cert: ## create a trust self-signed certificate
mkcert -install -key-file certs/dev.local.key.pem -cert-file certs/dev.local.crt.pem dev.local '*.dev.local' 127.0.0.1 ::1