- Simplified Dockerfile for scraper by removing unnecessary Node.js installation and optimizing build stages. - Updated Traefik environment configuration to use shorter variable names for certificate paths. - Removed commented-out middleware configurations in dynamic middlewares.yaml. - Cleaned up legacy SSL configurations in ssl.yaml. - Disabled insecure API access in Traefik configuration. - Deleted unused renovate.json file. - Modified update environment script to only process apps directory. - Updated GHCR cleanup script to target specific package. - Streamlined dependency update script to focus on app submodules. - Removed setup script for Prometheus as it is no longer needed.
23 lines
765 B
Makefile
23 lines
765 B
Makefile
.PHONY: help dev update-submodules deploy init-submodules status
|
|
|
|
SHELL := /bin/bash
|
|
|
|
help: ## Show this help
|
|
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
|
|
|
|
dev: ## Start development infrastructure (Redis etc.)
|
|
docker compose -f infra/compose/shared.yml up -d
|
|
|
|
update-submodules: ## Update all git submodules to latest remote
|
|
git submodule update --remote --merge --recursive
|
|
|
|
deploy: ## Deploy to VPS (triggers GitHub Actions)
|
|
@echo "Push to main to trigger deployment, or run:"
|
|
@echo " gh workflow run deploy-docker.yml"
|
|
|
|
init-submodules: ## Initialize all submodules
|
|
git submodule update --init --recursive
|
|
|
|
status: ## Show submodule status
|
|
git submodule status
|