blob: 9844f4de20e1acbe4d29048ddc75c9a1f1b043f4 [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 \
ecaiyanlinux56889c02022-01-25 22:30:49 +010028 -v ~/.kube:/home/nonrtric/.kube \
29 -v ~/.helm:/home/nonrtric/.helm \
30 -v ~/.config/helm:/home/nonrtric/.config/helm \
31 -v ~/.cache/helm:/home/nonrtric/.cache/helm \
BjornMagnussonXA31b09882021-06-02 01:56:26 +020032 -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 \
BjornMagnussonXAa439ccb2021-09-14 14:44:08 +020034 nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-helm-manager:1.1.0-SNAPSHOT