Update: Añado la variable de entorno "PORT" para futura configuracion
This commit is contained in:
@@ -5,6 +5,7 @@ import os
|
||||
|
||||
load_dotenv()
|
||||
|
||||
puerto = os.getenv("PORT")
|
||||
monitor1 = os.getenv("MONITOR_ID_1")
|
||||
monitor2 = os.getenv("MONITOR_ID_2")
|
||||
|
||||
@@ -61,4 +62,4 @@ def api_pie():
|
||||
return Response(mensaje, mimetype='text/plain')
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True,host='192.168.82.156')
|
||||
app.run(debug=True,host='192.168.82.156', port=puerto)
|
||||
@@ -3,5 +3,6 @@ DB_PASSWORD=CSMKIOSCOS
|
||||
DB_HOST=192.168.1.76
|
||||
DB_PORT=1521
|
||||
DB_SID=REALRAC1
|
||||
PORT=5000
|
||||
MONITOR_ID_1=1
|
||||
MONITOR_ID_2=2
|
||||
Reference in New Issue
Block a user