-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
37 lines (34 loc) · 1.57 KB
/
docker-compose.dev.yml
File metadata and controls
37 lines (34 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright © 2025 Novatrax Labs LLC. All Rights Reserved.
# Development Docker Compose Configuration
# SECURITY NOTE: This file is for local development only.
# Do NOT use in production environments.
# Redis and Postgres are provided by Railway — set REDIS_URL and DB_PATH
# in your environment before running.
services:
dev:
build:
context: ..
dockerfile: .devcontainer/Dockerfile
volumes:
- ..:/workspace:cached
- /var/run/docker.sock:/var/run/docker.sock # Allow linter/critique agent to run via Docker
command: sleep infinity
environment:
# Development-only environment variables
# IMPORTANT: Generate keys before running:
# export AGENTIC_AUDIT_HMAC_KEY=$(openssl rand -hex 32)
# export ENCRYPTION_KEY=$(python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())")
- "AGENTIC_AUDIT_HMAC_KEY=${AGENTIC_AUDIT_HMAC_KEY:?AGENTIC_AUDIT_HMAC_KEY is required - run: export AGENTIC_AUDIT_HMAC_KEY=$(openssl rand -hex 32)}"
- ENCRYPTION_KEY=${ENCRYPTION_KEY:?ENCRYPTION_KEY is required}
# Database and cache — provided by Railway
- DB_PATH=${DB_PATH}
- REDIS_URL=${REDIS_URL}
# Development mode settings
- DEV_MODE=1
- APP_ENV=development
- LOG_LEVEL=DEBUG
# Enable experimental evolution engine in development (safe — PRODUCTION_MODE is not set).
- ENABLE_EXPERIMENTAL_EVOLUTION=true
# Deterministic build mode — set to 1 to verify reproducible build output locally.
- DETERMINISTIC=${DETERMINISTIC:-0}
volumes: {}