Update: VE IPSERVER

This commit is contained in:
2025-07-30 10:47:28 +02:00
parent bd16631109
commit c71a64d6d8
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import os
load_dotenv() load_dotenv()
ip = os.getenv("IPSERVER")
puerto = os.getenv("PORT") puerto = os.getenv("PORT")
monitor1 = os.getenv("MONITOR_ID_1") monitor1 = os.getenv("MONITOR_ID_1")
monitor2 = os.getenv("MONITOR_ID_2") monitor2 = os.getenv("MONITOR_ID_2")
@@ -62,4 +63,4 @@ def api_pie():
return Response(mensaje, mimetype='text/plain') return Response(mensaje, mimetype='text/plain')
if __name__ == '__main__': if __name__ == '__main__':
app.run(debug=True,host='192.168.82.156', port=puerto) app.run(debug=True,host=ip, port=puerto)
+2 -1
View File
@@ -6,4 +6,5 @@ DB_SID=REALRAC1
PORT=5000 PORT=5000
MONITOR_ID_1=1 MONITOR_ID_1=1
MONITOR_ID_2=2 MONITOR_ID_2=2
ORA_DIRECTORY="C:/oracle/product/11.2.0.4" ORA_DIRECTORY="C:/oracle/product/11.2.0.4"
IPSERVER = 192.168.82.156