telemetry dashboard add
All checks were successful
Build And Test / build-and-push (push) Successful in 4m35s

This commit is contained in:
2025-02-22 03:05:50 +09:00
parent 928758c20d
commit fb02b8dc8d
17 changed files with 72 additions and 7 deletions

View File

@ -18,13 +18,13 @@ BASE_DIR = Path(__file__).resolve().parent.parent
# 우선순위: .env.prd > .env.dev > .env
if os.path.exists(os.path.join(BASE_DIR, '.env.prd')):
print("Read ::: .env.prd")
print("Read Environment File > Used : .env.prd")
load_dotenv(os.path.join(BASE_DIR, '.env.prd'))
elif os.path.exists(os.path.join(BASE_DIR, '.env.dev')):
print("Read ::: .env.dev")
print("Read Environment File > Used : .env.dev")
load_dotenv(os.path.join(BASE_DIR, '.env.dev'))
else:
print("Read ::: local_env")
print("None Environment File > Used : local_env")
# load_dotenv(os.path.join(BASE_DIR, '.env.dev'))
@ -62,6 +62,7 @@ INSTALLED_APPS = [
'mm_msg',
'ansible_manager',
'obs_minio',
'telemetry_dashboard',
]
MIDDLEWARE = [

View File

@ -31,6 +31,7 @@ urlpatterns = [
path('mm_msg/', include('mm_msg.urls')),
path('ansible_manager/', include('ansible_manager.urls')),
path('obs_minio/', include('obs_minio.urls')),
path('tm_dsbd/', include('telemetry_dashboard.urls')),
]
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)