mirror of
https://github.com/DerTyp7/docker_minecraft_server_auto_starter.git
synced 2025-10-29 12:42:09 +01:00
Add request handler for each port and improve
error handling
This commit is contained in:
@@ -5,7 +5,7 @@ import os
|
||||
class DockerHandler:
|
||||
def __init__(self, base_url, port_ip_map):
|
||||
print(
|
||||
f'initializing docker handler with base url {base_url} and port ip map {port_ip_map}')
|
||||
f'Initializing docker handler with base url {base_url} and port ip map: {port_ip_map}')
|
||||
self.base_url = base_url
|
||||
self.client = docker.DockerClient(base_url=base_url)
|
||||
self.port_ip_map = port_ip_map
|
||||
|
||||
Reference in New Issue
Block a user