Carga inicial
This commit is contained in:
29
.streamlit/config.toml
Normal file
29
.streamlit/config.toml
Normal 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
|
||||
49
.streamlit/config_prod.toml
Normal file
49
.streamlit/config_prod.toml
Normal 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"
|
||||
|
||||
# Don’t 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>"
|
||||
# Don’t store secrets in this file.
|
||||
7
.streamlit/secrets_template.toml
Normal file
7
.streamlit/secrets_template.toml
Normal file
@@ -0,0 +1,7 @@
|
||||
# Credenciales de PostgreSQL
|
||||
[postgres]
|
||||
host = "host"
|
||||
port = "5432"
|
||||
database = "database"
|
||||
user = "usr"
|
||||
password = "P4ssw0rd."
|
||||
Reference in New Issue
Block a user