add nginx stop build and run to Makefile

This commit is contained in:
2025-10-16 02:03:51 +05:00
parent 6ab25eb073
commit d16b1cd1e7
131 changed files with 14 additions and 17960 deletions
+13 -1
View File
@@ -12,4 +12,16 @@ bb: stop_bb build_bb
docker compose up api_bb -d
bb_db:
docker exec -it serv_nginx-db-1 sh -c "psql -U postgres -d postgres"
docker exec -it serv_nginx-db-1 sh -c "psql -U postgres -d postgres"
restart:
docker compose down && docker compose up -d
stop_nginx:
docker compose down nginx
build_nginx:
dokcer compose build nginx --no-cache
run_binnx: stop_nginx build_nginx
docker compose up nginx -d