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:
@@ -17,7 +17,7 @@ ENV DATABASE_URL=postgresql://hive:hive@postgres:5432/hive
|
||||
ENV REDIS_URL=redis://redis:6379/0
|
||||
ENV LOG_LEVEL=info
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONPATH=/app/app
|
||||
ENV PYTHONPATH=/app/app:/app/ccli_src
|
||||
|
||||
# Copy requirements first for better caching
|
||||
COPY requirements.txt .
|
||||
@@ -28,6 +28,9 @@ RUN pip install --no-cache-dir -r requirements.txt
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
# Copy CCLI source code for CLI agent integration
|
||||
COPY ccli_src /app/ccli_src
|
||||
|
||||
# Create non-root user
|
||||
RUN useradd -m -u 1000 hive && chown -R hive:hive /app
|
||||
USER hive
|
||||
|
||||
Reference in New Issue
Block a user