Add environment configuration and local development documentation

- Parameterize CORS_ORIGINS in docker-compose.swarm.yml
- Add .env.example with configuration options
- Create comprehensive LOCAL_DEVELOPMENT.md guide
- Update README.md with environment variable documentation
- Provide alternatives for local development without production domain

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
anthonyrawlins
2025-07-10 18:20:52 +10:00
parent daf0766e29
commit f3cbb5c6f7
50 changed files with 6339 additions and 528 deletions

View File

@@ -1,7 +1,7 @@
services:
# Hive Backend API
hive-backend:
image: anthonyrawlins/hive-backend:latest
image: anthonyrawlins/hive-backend:cli-support
build:
context: ./backend
dockerfile: Dockerfile
@@ -10,7 +10,7 @@ services:
- REDIS_URL=redis://redis:6379
- ENVIRONMENT=production
- LOG_LEVEL=info
- CORS_ORIGINS=https://hive.home.deepblack.cloud
- CORS_ORIGINS=${CORS_ORIGINS:-https://hive.home.deepblack.cloud}
depends_on:
- postgres
- redis