refactor: Remove Directus infrastructure, simplify Docker deployment
- Remove Directus CMS infrastructure (docker-compose.infrastructure.yml) - Simplify to Astro-only deployment using existing Supabase backend - Clean up docker-compose.override.yml to focus on local development - Update NGINX config to proxy only to Astro app - Remove Directus-related npm scripts and database management tools - Streamline deployment guide for Supabase + Astro architecture Deployment workflow: - Local: npm run docker:dev (Astro + Supabase hosted) - Production: npm run docker:astro:up (Astro only) Benefits: - Simpler architecture with proven Supabase backend - Faster deployments (Astro only) - Zero database downtime - Reduced operational complexity 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -25,15 +25,8 @@
|
||||
"docker:astro:up": "docker-compose -f docker-compose.astro.yml up -d --build",
|
||||
"docker:astro:down": "docker-compose -f docker-compose.astro.yml down",
|
||||
"docker:astro:logs": "docker-compose -f docker-compose.astro.yml logs -f",
|
||||
"docker:infrastructure:up": "docker-compose -f docker-compose.infrastructure.yml up -d",
|
||||
"docker:infrastructure:down": "docker-compose -f docker-compose.infrastructure.yml down",
|
||||
"docker:infrastructure:logs": "docker-compose -f docker-compose.infrastructure.yml logs -f",
|
||||
"docker:dev": "docker-compose up -d",
|
||||
"docker:dev:build": "docker-compose up -d --build",
|
||||
"db:backup": "./scripts/db-safety.sh backup",
|
||||
"db:restore": "./scripts/db-safety.sh restore",
|
||||
"db:reset": "./scripts/db-safety.sh reset",
|
||||
"db:status": "./scripts/db-safety.sh status"
|
||||
"docker:dev:build": "docker-compose up -d --build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/check": "^0.9.4",
|
||||
|
||||
Reference in New Issue
Block a user