MicroFish/backend
Ubuntu 842cf09a10 feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage
- infra.bicep: Storage Account + File Share (mirofish-uploads, 100GB SMB),
  envStorage to register share in Container Apps Env, PostgreSQL Flexible
  Server (v16, 32GB) with mirofish database and Azure-services firewall rule;
  new secure outputs: storageConnectionString, databaseUrl, storageAccountKey
- container-app.bicep: storageConnectionString/databaseUrl/storageAccountName/
  fileShareName params; volume mount at /mnt/uploads (Azure Files);
  OASIS_SIMULATION_DATA_DIR + UPLOAD_FOLDER + STORAGE_TYPE env vars set
  conditionally based on whether storage is configured
- 1-infra.sh: POSTGRES_ADMIN_PASSWORD required, register Storage/PostgreSQL
  providers, pass new Bicep params, print generated DATABASE_URL and
  STORAGE_CONNECTION_STRING for pasting into config.sh
- 2-build-deploy.sh: DATABASE_URL + STORAGE_CONNECTION_STRING required and
  forwarded to container-app.bicep
- config.sh.example: add POSTGRES_ADMIN_PASSWORD, POSTGRES_ADMIN_USER,
  POSTGRES_SKU, STORAGE_CONNECTION_STRING, STORAGE_ACCOUNT_NAME,
  FILE_SHARE_NAME, DATABASE_URL
- pyproject.toml + uv.lock: add psycopg2-binary>=2.9.9 (PostgreSQL driver)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-04 23:37:31 +00:00
..
alembic feat(alembic): add initial schema migration for all SQLAlchemy models 2026-05-03 00:04:18 +00:00
app feat(history): enable 'Analysis Report' button in simulation history 2026-05-04 23:27:10 +00:00
scripts feat(f2a-b): step02/03 UX overhaul, Azure OpenAI fix, offline report interviews 2026-05-04 23:20:41 +00:00
tests fix(graph): use get_running_loop() in _execute_neo4j_query, unify delete_graph to single async-backed method 2026-05-03 22:10:14 +00:00
__init__.py feat(graph): add GraphBackend abstract interface 2026-04-25 11:11:06 +00:00
alembic.ini feat(alembic): add initial schema migration for all SQLAlchemy models 2026-05-03 00:04:18 +00:00
pyproject.toml feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage 2026-05-04 23:37:31 +00:00
requirements.txt fix(file_parser): handle non-UTF-8 encoded text files with automatic encoding detection 2026-01-22 18:28:37 +08:00
run.py Add UTF-8 encoding support for Windows console in run.py and logger.py to prevent character encoding issues 2025-12-26 17:58:48 +08:00
uv.lock feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage 2026-05-04 23:37:31 +00:00
wsgi.py feat(auth): add JWT login screen, production Dockerfile and Azure Container App Bicep 2026-04-24 18:46:39 +00:00