blob: c98b22a96c66222df8b65321cee2e834f0800822 [file] [log] [blame]
BjornMagnussonXA31b09882021-06-02 01:56:26 +02001#! /bin/bash
2
3# ============LICENSE_START===============================================
4# Copyright (C) 2021 Nordix Foundation. All rights reserved.
5# ========================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============LICENSE_END=================================================
18
19# Starts a helm manager container
20
21docker run \
22 --rm \
23 -it \
24 -p 8112:8083 \
25 --name helmmanagerservice \
26 --network nonrtric-docker-net \
27 -v $(pwd)/mnt/database:/var/helm-manager/database \
28 -v ~/.kube:/root/.kube \
29 -v ~/.helm:/root/.helm \
30 -v ~/.config/helm:/root/.config/helm \
31 -v ~/.cache/helm:/root/.cache/helm \
32 -v $(pwd)/config/KubernetesParticipantConfig.json:/opt/app/helm-manager/src/main/resources/config/KubernetesParticipantConfig.json \
33 -v $(pwd)/config/application.yaml:/opt/app/helm-manager/src/main/resources/config/application.yaml \
34 nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-helm-manager:1.0.0-SNAPSHOT