MicroFish/azure
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
..
1-infra.sh feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage 2026-05-04 23:37:31 +00:00
2-build-deploy.sh feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage 2026-05-04 23:37:31 +00:00
config.sh.example feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage 2026-05-04 23:37:31 +00:00
container-app.bicep feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage 2026-05-04 23:37:31 +00:00
infra.bicep feat(azure): add PostgreSQL Flexible Server + Azure Files persistent storage 2026-05-04 23:37:31 +00:00