isp-maintenance/mgrctl/settings/api.py

11 lines
305 B
Python
Raw Normal View History

from mgrctl.settings.platform import PLATFORM_TYPE
2024-05-26 22:06:58 +08:00
# Name of nginx container:
INPUT_HOSTNAME = 'input' if PLATFORM_TYPE == 'vm' else 'dci_input_1'
# Port that nginx container is listening:
INPUT_PORT = '1500'
# Headers for internal auth:
HEADERS = {"Internal-Auth": "on", "Accept": "application/json"}