@@ -301,8 +301,8 @@ The worker requires the following environment variables to be set:
301
301
| ------------------------------- | ---------------------------------------------------------- | ----------------------------------------- |
302
302
| ` API_ENDPOINT ` | Base URL of the ReefGuide API | ` "https://api.reefguide.example.com/api" ` |
303
303
| ` JOB_TYPES ` | Comma-separated list of job types the worker should handle | ` "SUITABILITY_ASSESSMENT,TEST" ` |
304
- | ` USERNAME ` | API authentication username | ` "worker-service" ` |
305
- | ` PASSWORD ` | API authentication password | ` "secure-password" ` |
304
+ | ` WORKER_USERNAME ` | API authentication username | ` "worker-service" ` |
305
+ | ` WORKER_PASSWORD ` | API authentication password | ` "secure-password" ` |
306
306
| ` POLL_INTERVAL_MS ` | (Optional) Polling interval in milliseconds | ` 2000 ` (default) |
307
307
| ` IDLE_TIMEOUT_MS ` | (Optional) Idle timeout in milliseconds | ` 300000 ` (default) |
308
308
| ` AWS_REGION ` | AWS region for S3 operations | ` "ap-southeast-2" ` |
@@ -328,8 +328,8 @@ Example `.env` file:
328
328
```
329
329
API_ENDPOINT=http://localhost:8000
330
330
JOB_TYPES=SUITABILITY_ASSESSMENT,TEST
331
- USERNAME =local-dev
332
- PASSWORD =local-password
331
+ WORKER_USERNAME =local-dev
332
+ WORKER_PASSWORD =local-password
333
333
POLL_INTERVAL_MS=5000
334
334
IDLE_TIMEOUT_MS=600000
335
335
AWS_REGION=ap-southeast-2
432
432
# Set environment variables
433
433
export API_ENDPOINT=https://api.reefguide.example.com
434
434
export JOB_TYPES=SUITABILITY_ASSESSMENT,TEST
435
- export USERNAME =worker-service
436
- export PASSWORD =secure-password
435
+ export WORKER_USERNAME =worker-service
436
+ export WORKER_PASSWORD =secure-password
437
437
438
438
# Start the Julia REPL with the ReefGuide module
439
439
cd sandbox
0 commit comments