X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=example-apps%2FPDD%2Fpcb-defect-detection%2Fconfig.py;fp=example-apps%2FPDD%2Fpcb-defect-detection%2Fconfig.py;h=6a177f393bf1c844cdd0df10cdd2e655d0f9e0a3;hb=a785567fb9acfc68536767d20f60ba917ae85aa1;hp=0000000000000000000000000000000000000000;hpb=94a133e696b9b2a7f73544462c2714986fa7ab4a;p=ealt-edge.git diff --git a/example-apps/PDD/pcb-defect-detection/config.py b/example-apps/PDD/pcb-defect-detection/config.py new file mode 100644 index 0000000..6a177f3 --- /dev/null +++ b/example-apps/PDD/pcb-defect-detection/config.py @@ -0,0 +1,36 @@ +# +# Copyright 2020 Huawei Technologies Co., Ltd. +# +# 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. +# + +import os + +# [Server Configurations] +server_port = 9991 +# server_address = os.environ.get('LISTEN_IP') +server_address = "0.0.0.0" + +# [SSL Configurations] +ssl_enabled = False +ssl_protocol = "TLSv1.2" +ssl_ciphers = ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_-p 127.0.0.1:80:8080/tcp256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"] +ssl_certfilepath = "/usr/app/ssl/server_tls.crt" +ssl_keyfilepath = "/usr/app/ssl/server_tls.key" +ssl_cacertpath = "/usr/app/ssl/ca.crt" +ssl_server_name = os.environ.get('SERVER_NAME', "ealtedge") + +