feat: add Copilot instructions and enhance Docker Compose configuration for improved routing

This commit is contained in:
2025-10-30 08:14:44 +00:00
parent 4756eab175
commit 1ae34d6a18
3 changed files with 43 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ DOCKER_COMPOSE=docker compose -f docker-compose-local.yml
.DEFAULT_GOAL := help
.PHONY: init docker-up docker-up-tibi-dev docker-start docker-start-tibi-dev docker-down docker-ps docker-logs yarn-upgrade fix-permissions
.PHONY: init docker-up docker-restart-frontend docker-up-tibi-dev docker-start docker-start-tibi-dev docker-down docker-ps docker-logs yarn-upgrade fix-permissions mongo-sync-master-to-local media-sync-master-to-local mongo-sync-local-to-staging media-sync-local-to-staging
include ./.env
@@ -16,6 +16,9 @@ init: ## initialize required directories
docker-up: init ## bring docker compose stack up in background
$(DOCKER_COMPOSE) --profile tibi up -d
docker-restart-frontend: ## restart frontend build and dev-server
$(DOCKER_COMPOSE) restart yarnstart
docker-up-tibi-dev: init ## bring docker compose stack up in background with tibi-dev
$(DOCKER_COMPOSE) --profile tibi-dev up -d
@@ -37,6 +40,9 @@ docker-ps: ## show container state
docker-logs: ## show docker logs and follow
$(DOCKER_COMPOSE) --profile tibi-dev --profile tibi --profile chisel logs -f --tail=100 || true
docker-logs-%: ## show last X lines of docker logs
$(DOCKER_COMPOSE) --profile tibi-dev --profile tibi --profile chisel logs --tail=$*
docker-pull: ## pull docker images
$(DOCKER_COMPOSE) --profile tibi-dev --profile tibi --profile chisel pull