-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
41 lines (30 loc) · 743 Bytes
/
Makefile
File metadata and controls
41 lines (30 loc) · 743 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
31
32
33
34
35
36
37
38
39
40
41
COMPOSE_DOCKER_CLI_BUILD=1
DOCKER_BUILDKIT=1
# local commands
clean:
rm -rf node_modules
rm -rf client/node_modules
install:
npm install
(cd client && npm install)
npm install -g nodemon
build:
docker compose build --no-cache
api:
npm run start
ui:
(cd client && npm run serve)
dev:
docker compose up
# deployment commands
deploy:
docker compose -f docker-compose.prod.yaml build --no-cache
docker compose -f docker-compose.prod.yaml up -d
stop:
docker compose -f docker-compose.prod.yaml down
destroy:
docker compose down --remove-orphans --volumes
docker volume rm alexpeppernet_certbot-etc
docker volume rm alexpeppernet_certbot-var
docker volume rm alexpeppernet_dhparam
docker volume rm alexpeppernet_web-root