Updated project name references in configuration, scripts, and code. This includes changes to database URLs, Docker commands, environment variables, and displayed API titles. Ensures consistency with the new project name "App".
27 lines
587 B
Makefile
27 lines
587 B
Makefile
.PHONY: dev prod down clean
|
|
|
|
VERSION ?= latest
|
|
REGISTRY := gitea.pragmazest.com/cardosofelipe/app
|
|
|
|
|
|
dev:
|
|
docker compose -f docker-compose.dev.yml up --build -d
|
|
|
|
prod:
|
|
docker compose up --build -d
|
|
|
|
down:
|
|
docker compose down
|
|
|
|
deploy:
|
|
docker compose -f docker-compose.deploy.yml pull
|
|
docker compose -f docker-compose.deploy.yml up -d
|
|
|
|
clean:
|
|
docker compose down -
|
|
|
|
push-images:
|
|
docker build -t $(REGISTRY)/backend:$(VERSION) ./backend
|
|
docker build -t $(REGISTRY)/frontend:$(VERSION) ./frontend
|
|
docker push $(REGISTRY)/backend:$(VERSION)
|
|
docker push $(REGISTRY)/frontend:$(VERSION)
|