feat: add .env configuration file and update README with configuration details

This commit is contained in:
adlsdztony
2025-06-01 07:07:47 +00:00
parent 41e9e86379
commit e48bd6b059
3 changed files with 20 additions and 5 deletions

11
monitor/.env Normal file
View File

@@ -0,0 +1,11 @@
# This file is only used to configure the monitor.
# Do not write any secret keys or sensitive information here.
# Monitor configuration
TASK_CONFIG_PATH=../evaluation_examples/test_small.json
EXAMPLES_BASE_PATH=../evaluation_examples/examples
RESULTS_BASE_PATH=../results_operator_aws/pyautogui/screenshot/computer-use-preview
MAX_STEPS=50
FLASK_PORT=80
FLASK_HOST=0.0.0.0
FLASK_DEBUG=true

3
monitor/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
# this .env file is used to store some paths and some configuration
# It is not secure, so it can be committed to the repository
!.env

View File

@@ -8,7 +8,7 @@ This monitor provides a visual interface to track the status, progress, and resu
- View all tasks grouped by type
- Monitor task execution status in real-time
- See detailed execution steps with screenshots
- See detailed execution steps with screenshots and videos
- Check task results
## Configuration
@@ -17,11 +17,11 @@ The monitor can be configured by editing the `.env` file in the monitor director
| Variable | Description | Default Value |
|----------|-------------|---------------|
| TASK_CONFIG_PATH | Path to the task configuration JSON file | evaluation_examples/test_small.json |
| EXAMPLES_BASE_PATH | Base path for task example files | evaluation_examples/examples |
| RESULTS_BASE_PATH | Base path for execution results | results_operator_aws/pyautogui/screenshot/computer-use-preview |
| TASK_CONFIG_PATH | Path to the task configuration JSON file | ../evaluation_examples/test_small.json |
| EXAMPLES_BASE_PATH | Base path for task example files | ../evaluation_examples/examples |
| RESULTS_BASE_PATH | Base path for execution results | ../results_operator_aws/pyautogui/screenshot/computer-use-preview |
| MAX_STEPS | Maximum steps to display for a task | 50 |
| FLASK_PORT | Port for the web server | 8080 |
| FLASK_PORT | Port for the web server | 80 |
| FLASK_HOST | Host address for the web server | 0.0.0.0 |
| FLASK_DEBUG | Enable debug mode (true/false) | true |
@@ -45,6 +45,7 @@ The recommended way to run the monitor is using Docker with the provided Docker
- Docker and Docker Compose installed on your system
- OSWorld repository cloned to your local machine
- Environment variables set in the `.env` file
### Starting the Monitor