Carga inicial

This commit is contained in:
AlexLara
2026-03-03 13:05:51 -06:00
commit 857f8f94d4
9 changed files with 543 additions and 0 deletions

29
.streamlit/config.toml Normal file
View File

@@ -0,0 +1,29 @@
# for local development
[server]
#no default browser
headless = true
# for local development
runOnSave = true
# Limit uploads (MB). Excel files here are small; adjust if needed
maxUploadSize = 5
# for local development
fileWatcherType="poll"
[theme]
base="light"
primaryColor = "#001d68"
backgroundColor = "#FFFFFF"
secondaryBackgroundColor = "#F4F6FA"
textColor = "#111827"
font = "sans serif"
[client]
toolbarMode = "minimal"
[ui]
hideTopBar = true

View File

@@ -0,0 +1,49 @@
## Streamlit config — Production defaults
[server]
# Run without launching a browser
headless = true
# Listen on all interfaces (useful for containers/VMs)
address = "0.0.0.0"
# Fixed port; override with STREAMLIT_SERVER_PORT if needed
port = 8501
# Behind a reverse proxy you typically want CORS disabled
enableCORS = false
# Keep XSRF protection ON in production
enableXsrfProtection = true
# Limit uploads (MB). Excel files here are small; adjust if needed
maxUploadSize = 5
# Reduce CPU usage by disabling file watching (no auto-reload)
fileWatcherType = "none"
# Dont auto-rerun on file save in production
runOnSave = false
# Better network performance for many clients
enableWebsocketCompression = true
# Optional: if serving behind a subpath (e.g., https://host/sgu)
# baseUrlPath = "sgu"
[browser]
# Disable Streamlit telemetry in production
gatherUsageStats = false
[client]
# Hide developer toolbar in production
toolbarMode = "viewer"
[logger]
# Use info or warning for less noise
level = "info"
## Secrets
# For production, set a strong cookie secret via environment variable:
# STREAMLIT_SERVER_COOKIE_SECRET="<random-32-bytes-hex>"
# Dont store secrets in this file.

View File

@@ -0,0 +1,7 @@
# Credenciales de PostgreSQL
[postgres]
host = "host"
port = "5432"
database = "database"
user = "usr"
password = "P4ssw0rd."