Merge branch 'main' into feat/model-router
This commit is contained in:
@@ -152,8 +152,9 @@ cmd_start() {
|
|||||||
# Handle custom OUTPUT directory
|
# Handle custom OUTPUT directory
|
||||||
# Export OUTPUT_DIR for docker-compose volume mount BEFORE starting containers
|
# Export OUTPUT_DIR for docker-compose volume mount BEFORE starting containers
|
||||||
if [ -n "$OUTPUT" ]; then
|
if [ -n "$OUTPUT" ]; then
|
||||||
# Create output directory if it doesn't exist
|
# Create output directory with write permissions for container user (UID 1001)
|
||||||
mkdir -p "$OUTPUT"
|
mkdir -p "$OUTPUT"
|
||||||
|
chmod 777 "$OUTPUT"
|
||||||
export OUTPUT_DIR="$OUTPUT"
|
export OUTPUT_DIR="$OUTPUT"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -184,6 +185,10 @@ cmd_start() {
|
|||||||
export ANTHROPIC_AUTH_TOKEN="shannon-router-key"
|
export ANTHROPIC_AUTH_TOKEN="shannon-router-key"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Ensure audit-logs directory exists with write permissions for container user (UID 1001)
|
||||||
|
mkdir -p ./audit-logs
|
||||||
|
chmod 777 ./audit-logs
|
||||||
|
|
||||||
# Ensure containers are running (starts them if needed)
|
# Ensure containers are running (starts them if needed)
|
||||||
ensure_containers
|
ensure_containers
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user