6a177f393bf1c844cdd0df10cdd2e655d0f9e0a3
[ealt-edge.git] / example-apps / PDD / pcb-defect-detection / config.py
1 #
2 # Copyright 2020 Huawei Technologies Co., Ltd.
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 #
16
17 import os
18
19 # [Server Configurations]
20 server_port = 9991
21 # server_address = os.environ.get('LISTEN_IP')
22 server_address = "0.0.0.0"
23
24 # [SSL Configurations]
25 ssl_enabled = False
26 ssl_protocol = "TLSv1.2"
27 ssl_ciphers = ["TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
28                "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
29                "TLS_ECDHE_RSA_WITH_AES_-p 127.0.0.1:80:8080/tcp256_GCM_SHA384",
30                "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"]
31 ssl_certfilepath = "/usr/app/ssl/server_tls.crt"
32 ssl_keyfilepath = "/usr/app/ssl/server_tls.key"
33 ssl_cacertpath = "/usr/app/ssl/ca.crt"
34 ssl_server_name = os.environ.get('SERVER_NAME', "ealtedge")
35
36