Initial commit: Flask stats API (v1 PharmIT3000, v2 PMPLUS20)
This commit is contained in:
19
config.py
Normal file
19
config.py
Normal file
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""DB 연결 설정"""
|
||||
import os
|
||||
|
||||
# PharmIT3000 (v1)
|
||||
PHARMIT3000_CONFIG = {
|
||||
'server': os.getenv('PHARMIT_SERVER', '192.168.0.4\\PM2014'),
|
||||
'database': 'PM_PRES',
|
||||
'username': os.getenv('PHARMIT_USER', 'sa'),
|
||||
'password': os.getenv('PHARMIT_PASS', 'tmddls214!%('),
|
||||
}
|
||||
|
||||
# PMPLUS20 (v2)
|
||||
PMPLUS20_CONFIG = {
|
||||
'server': os.getenv('PMPLUS_SERVER', '192.168.0.4\\PM2014'),
|
||||
'database': 'PM_MAIN',
|
||||
'username': os.getenv('PMPLUS_USER', 'sa'),
|
||||
'password': os.getenv('PMPLUS_PASS', 'tmddls214!%('),
|
||||
}
|
||||
Reference in New Issue
Block a user