-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (25 loc) · 843 Bytes
/
Copy pathMakefile
File metadata and controls
33 lines (25 loc) · 843 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
.PHONY: help up down restart logs ps build reset
help:
@printf "OpenSolve local development\\n\\n"
@printf " make up Build and start the full local stack\\n"
@printf " make down Stop local containers\\n"
@printf " make restart Restart local containers\\n"
@printf " make logs Tail local stack logs\\n"
@printf " make ps Show local stack status\\n"
@printf " make build Build app and worker images\\n"
@printf " make reset Stop containers and remove local volumes\\n"
@printf "\\nOverride env with: OPENSOLVE_ENV_FILE=./ops/env/dev.local.env make up\\n"
up:
docker compose up --build
down:
docker compose down
restart:
docker compose restart
logs:
docker compose logs -f
ps:
docker compose ps
build:
docker compose build web worker
reset:
docker compose down --volumes --remove-orphans