-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
49 lines (30 loc) · 933 Bytes
/
Makefile
File metadata and controls
49 lines (30 loc) · 933 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
42
43
44
45
46
47
48
49
# Build the Docker images for the entire application.
build:
@docker compose build
# Run the entire application in development mode using Docker Compose.
up:
@docker compose up -d
# Down the entire Docker Compose.
down:
@docker compose down
# Run the control panel in development mode using `--turbopack`.
cp-dev: # Opsie Turbopack Control Panel
@cd control-panel && npm run dev-tb
# View the logs of the server.
cp-log:
@docker compose logs -f opsie-control-panel
# Run the server & database.
server-build:
@docker compose build opsie-server
# Run the server & database.
server-up:
@docker compose up opsie-pg opsie-server -d
# Run the server & database with fresh build.
server-up-b:
@docker compose up --build opsie-pg opsie-server -d
# Stop the server & database.
server-down:
@docker compose down opsie-pg opsie-server
# View the logs of the server.
server-log:
@docker compose logs -f opsie-server