X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=otf-robot-test-head%2FDockerfile;h=3c481e025d22cb57d87d039561e8b074f128c93c;hb=bb3bf34351c7413e77e3891a058906c3bc778031;hp=49267ac964f4178fda0fb1acb1ead9ba20bebea3;hpb=6f7e46b4562b31f748670be8947d315963240ddd;p=it%2Fotf.git diff --git a/otf-robot-test-head/Dockerfile b/otf-robot-test-head/Dockerfile index 49267ac..3c481e0 100644 --- a/otf-robot-test-head/Dockerfile +++ b/otf-robot-test-head/Dockerfile @@ -1,3 +1,18 @@ +# Copyright (c) 2019 AT&T Intellectual Property. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); # +# you may not use this file except in compliance with the License. # +# You may obtain a copy of the License at # +# # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, # +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +################################################################################ + FROM python:2.7 # ARG HTTP_PROXY="http://localhost:8080" @@ -8,11 +23,12 @@ FROM python:2.7 ENV NAMESPACE=namespace ENV APP_NAME=otf-robot-test-head ENV APP_VERSION=1.0 -ENV OTF_MONGO_HOSTS=localhost:27017 +ENV OTF_MONGO_HOSTS=localhost:27017/ ENV OTF_MONGO_DATABASE=otf -ENV OTF_MONGO_REPLICASET=mongoOTF +ENV OTF_MONGO_REPLICASET=rs0 ENV OTF_MONGO_USERNAME=username ENV OTF_MONGO_PASSWORD=password +ENV APP_SETTINGS=app.configuration.DevelopmentConfiguration RUN python --version