Skip to content

Commit

Permalink
feat: added portainer & made ovms port changes
Browse files Browse the repository at this point in the history
Signed-off-by: Neethu Elizabeth Simon <[email protected]>
  • Loading branch information
NeethuES-intel committed Nov 9, 2023
1 parent 09f1b02 commit 05f89d6
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 6 deletions.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ run-camera-simulator:
run-telegraf:
cd telegraf && $(MAKE) run

run-portainer:
docker compose -p portainer -f docker-compose-portainer.yml up -d

clean:
./clean-containers.sh automated-self-checkout

Expand Down Expand Up @@ -92,7 +95,10 @@ clean-telegraf:
clean-webcam:
./clean-containers.sh webcam

clean-all: clean clean-ovms clean-simulator clean-results clean-telegraf clean-webcam
down-portainer:
docker compose -p portainer -f docker-compose-portainer.yml down

clean-all: clean clean-ovms clean-simulator clean-results clean-telegraf clean-webcam down-portainer

docs: clean-docs
mkdocs build
Expand Down
2 changes: 1 addition & 1 deletion configs/opencv-ovms/cmd_client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const (
ENV_KEY_VALUE_DELIMITER = "="

profileLaunchedContainerNameSuffix = "_ovms_pl"
defaultGrpcPortFrom = 9000
defaultGrpcPortFrom = 9001

scriptDir = "./scripts"
envFileDir = "./envs"
Expand Down
20 changes: 20 additions & 0 deletions docker-compose-portainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Copyright (C) 2023 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0
#

version: '3.7'
volumes:
portainer_data:

services:
portainer:
image: portainer/portainer-ce
ports:
- "9000:9000"
command: -H unix:///var/run/docker.sock
volumes:
- /var/run/docker.sock:/var/run/docker.sock:z
- portainer_data:/data
restart: always
10 changes: 6 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
########################################################################
# Copyright (c) Intel Corporation 2023
# SPDX-License-Identifier: BSD-3-Clause
########################################################################
#
# Copyright (C) 2023 Intel Corporation.
#
# SPDX-License-Identifier: Apache-2.0
#


## Current Developer Toolbox doesn't support environment files, make sure to remove any files or environment variables starting with $
version: '3.7'
Expand Down

0 comments on commit 05f89d6

Please sign in to comment.