Skip to content

Commit

Permalink
add .env parameter CABOT_LAUNCH_DEV_PROFILE to launch in development …
Browse files Browse the repository at this point in the history
…mode as service

DCO 1.1 Signed-off-by: Tatsuya Ishihara <[email protected]>
  • Loading branch information
tatsuya-ishihara committed Jan 24, 2025
1 parent a34e61d commit 569af11
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ docker compose -f docker-compose-server.yaml --profile map pull
- Optional settings for ./launch.sh options in service
```
CABOT_LAUNCH_CONFIG_NAME # "", "nuc", "rs3"
CABOT_LAUNCH_DEV_PROFILE # 1/0
CABOT_LAUNCH_DO_NOT_RECORD # 1/0
CABOT_LAUNCH_RECORD_CAMERA # 1/0
CABOT_LAUNCH_LOG_PREFIX # string, default=cabot
Expand Down
3 changes: 3 additions & 0 deletions launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ source $scriptdir/.env
if [ -n "$CABOT_LAUNCH_CONFIG_NAME" ]; then
config_name=$CABOT_LAUNCH_CONFIG_NAME
fi
if [ "$CABOT_LAUNCH_DEV_PROFILE" == "1" ]; then
profile=dev
fi
if [ -n "$CABOT_LAUNCH_DO_NOT_RECORD" ]; then
do_not_record=$CABOT_LAUNCH_DO_NOT_RECORD
fi
Expand Down

0 comments on commit 569af11

Please sign in to comment.