feat!(mgrctl) new release 0.1.1

Updated:
      - dependencies
      - docker hub latest image

    Fixed:
      - dci input container name

    Changed:
      - remove peewee deps
      - remove data base management
      - remove mysql container for dev env
      - remove \__version__ from sub app
This commit is contained in:
2025-05-07 16:17:20 +09:00
parent 99dd122262
commit 6bbebd5a7a
28 changed files with 1236 additions and 5698 deletions

View File

@@ -5,11 +5,3 @@ from mgrctl.settings.platform import (
PLATFORM_URL,
PLATFORM_CONFIG
)
from mgrctl.settings.db import(
DB_ENGINE,
DB_HOST,
DB_PORT,
DB_USER,
DB_PASSWORD
)

View File

@@ -13,7 +13,7 @@ from mgrctl.settings.platform import (
)
# Name of nginx container:
API_INPUT_HOSTNAME = 'input' if PLATFORM_TYPE == 'vm' else 'dci_input_1'
API_INPUT_HOSTNAME = 'input'
# Port that nginx container is listening:
API_INPUT_PORT = '1500'

View File

@@ -1,23 +0,0 @@
from mgrctl.settings.environment import env
from mgrctl.settings.platform import PLATFORM_CONFIG
# ! Required because some instance use psql db:
DB_ENGINE = env.str(
'DB_ENGINE',
PLATFORM_CONFIG.get('DatabaseType', 'mysql')
)
# Connection parameters:
DB_HOST = env.str(
'DB_HOST',
PLATFORM_CONFIG.get('DatabaseType', 'mysql')
)
DB_PORT = env.int('DB_PORT', 3306)
DB_USER = env.str('DB_USER', 'root')
# ! Do not pass password on production. Use value from config.json
DB_PASSWORD = env.str(
'DB_PASSWORD',
PLATFORM_CONFIG.get('MysqlRootPassword', '')
)