1
0
Fork 0

Reduce the label name

This commit is contained in:
Joao Gilberto 2021-08-11 10:54:17 -05:00
parent 7057965da4
commit 13c4ebfd2d
5 changed files with 54 additions and 48 deletions

View file

@ -35,7 +35,7 @@ class DockerLabelHandler:
class HaproxyConfigGenerator:
def __init__(self, mapping, ssl_cert_folder="/etc/haproxy/certs"):
self.mapping = mapping
self.label = DockerLabelHandler("com.byjg.easyhaproxy")
self.label = DockerLabelHandler("easyhaproxy")
self.ssl_cert_folder = ssl_cert_folder
self.ssl_cert_increment = 0
os.makedirs(self.ssl_cert_folder, exist_ok=True)