-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
42 lines (31 loc) · 867 Bytes
/
Makefile
File metadata and controls
42 lines (31 loc) · 867 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
start:
@docker compose up -d --build --remove-orphans --force-recreate
@echo "Visit: http://localhost:58085"
stop:
@docker compose stop
build:
@chmod u+x database-check.php
@docker-compose build app
shell:
@docker compose exec app bash
push:
@git add .
@git commit -am "Update" || true
@git push
fix:
@chmod +x deploy.sh
test:
@docker-compose up -d --force-recreate --build
@echo "Visit: http://localhost:58085"
test-log: build
@docker-compose up -d --force-recreate
@docker-compose logs -f phpservermonitor
test-cron:
@docker-compose exec phpservermonitor php cron/status.cron.php
test-backup:
@docker compose up -d --build --force-recreate app
@docker-compose exec app php cron/backup.cron.php
test-install:
@docker compose down -v
@docker compose up -d --build --remove-orphans --force-recreate
@echo "Visit: http://localhost:58085"