Skip to content

Commit 9448320

Browse files
committed
Move compose variables into brick config file
1 parent a65829c commit 9448320

File tree

18 files changed

+98
-25
lines changed

18 files changed

+98
-25
lines changed

src/arduino/app_bricks/audio_classification/brick_compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# EI_AUDIO_CLASSIFICATION_MODEL = path to the model file
2-
# CUSTOM_MODEL_PATH = path to the custom model directory
31
services:
42
ei-audio-classifier-runner:
53
image: ${DOCKER_REGISTRY_BASE:-ghcr.io/arduino/}app-bricks/ei-models-runner:0.6.0

src/arduino/app_bricks/audio_classification/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ requires_model: true
99
model: glass-breaking
1010
model_configuration_variables:
1111
- EI_AUDIO_CLASSIFICATION_MODEL
12+
variables:
13+
- name: EI_AUDIO_CLASSIFICATION_MODEL
14+
description: Path to the model file
15+
hidden: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
hidden: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
hidden: true

src/arduino/app_bricks/dbstorage_tsstore/brick_compose.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# BIND_ADDRESS = external container address
2-
# BIND_PORT = container port
3-
# DB_USERNAME = Edge Impulse project API key
4-
# DB_PASSWORD = Database password
5-
# INFLUXDB_ADMIN_TOKEN = InfluxDB admin token
61
services:
72
dbstorage-influx:
83
image: influxdb:2.7

src/arduino/app_bricks/dbstorage_tsstore/brick_config.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,17 @@ id: arduino:dbstorage_tsstore
22
name: Database - Time Series
33
description: "Simplified time series database storage layer for Arduino sensor samples built on top of InfluxDB."
44
requires_container: true
5-
category: storage
5+
category: storage
6+
variables:
7+
- name: DB_USERNAME
8+
description: Database username
9+
default_value: admin
10+
- name: DB_PASSWORD
11+
description: Database password
12+
default_value: Arduino15
13+
- name: INFLUXDB_ADMIN_TOKEN
14+
description: InfluxDB admin token
15+
default_value: 392edbf2-b8a2-481f-979d-3f188b2c05f0
16+
- name: BIND_ADDRESS
17+
description: External container address
18+
hidden: true

src/arduino/app_bricks/image_classification/brick_compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# EI_CLASSIFICATION_MODEL = path to the model file
2-
# CUSTOM_MODEL_PATH = path to the custom model directory
31
services:
42
ei-classification-runner:
53
image: ${DOCKER_REGISTRY_BASE:-ghcr.io/arduino/}app-bricks/ei-models-runner:0.6.0

src/arduino/app_bricks/image_classification/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ requires_model: true
99
model: mobilenet-image-classification
1010
model_configuration_variables:
1111
- EI_CLASSIFICATION_MODEL
12+
variables:
13+
- name: EI_CLASSIFICATION_MODEL
14+
description: Path to the model file
15+
hidden: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
hidden: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
hidden: true

src/arduino/app_bricks/keyword_spotting/brick_compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# EI_KEYWORD_SPOTTING_MODEL = path to the model file
2-
# CUSTOM_MODEL_PATH = path to the custom model directory
31
services:
42
ei-keyword-spot-runner:
53
image: ${DOCKER_REGISTRY_BASE:-ghcr.io/arduino/}app-bricks/ei-models-runner:0.6.0

src/arduino/app_bricks/keyword_spotting/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,13 @@ requires_model: true
1111
model: keyword-spotting-hey-arduino
1212
model_configuration_variables:
1313
- EI_KEYWORD_SPOTTING_MODEL
14+
variables:
15+
- name: EI_KEYWORD_SPOTTING_MODEL
16+
description: Path to the model file
17+
hidden: true
18+
- name: CUSTOM_MODEL_PATH
19+
description: Path to the custom model directory
20+
hidden: true
21+
- name: BIND_ADDRESS
22+
description: Bind address
23+
hidden: true

src/arduino/app_bricks/motion_detection/brick_compose.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# EI_MOTION_DETECTION_MODEL = path to the model file
2-
# CUSTOM_MODEL_PATH = path to the custom model directory
31
services:
42
ei-motion-detection-runner:
53
image: ${DOCKER_REGISTRY_BASE:-ghcr.io/arduino/}app-bricks/ei-models-runner:0.6.0

src/arduino/app_bricks/motion_detection/brick_config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ requires_model: true
99
model: updown-wave-motion-detection
1010
model_configuration_variables:
1111
- EI_MOTION_DETECTION_MODEL
12+
variables:
13+
- name: EI_MOTION_DETECTION_MODEL
14+
description: Path to the model file
15+
hidden: true
16+
- name: CUSTOM_MODEL_PATH
17+
description: Path to the custom model directory
18+
hidden: true
19+
- name: BIND_ADDRESS
20+
description: Bind address
21+
hidden: true

0 commit comments

Comments
 (0)