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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user