Skip to content

Connect Finance to platform PostgreSQL network - #7

Merged
iPior merged 2 commits into
mainfrom
agent/connect-finance-to-platform-data
Jul 15, 2026
Merged

Connect Finance to platform PostgreSQL network#7
iPior merged 2 commits into
mainfrom
agent/connect-finance-to-platform-data

Conversation

@iPior

@iPior iPior commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • joins the Finance API container to the external pior_data Docker network
  • joins the Finance MCP container to the same platform data network
  • declares pior_data as an external Compose network
  • updates the production workflow to ensure pior_data exists before migrations and deployment

Why

Finance is moving to the platform-managed PostgreSQL database. The platform database URL uses a Docker network hostname, so the containers that connect to PostgreSQL must share the pior_data network.

Deployment requirement

Before merging, update the repository FINLENS_ENV secret so DATABASE_URL contains the exact value from:

/opt/docker/pior-labs/secrets/app-finance-tracker/database-url

This deployment will run Finance migrations against that database. Existing Finance data and users are not migrated.

Intentionally unchanged

  • pior_edge networking and Caddy aliases
  • SSO configuration
  • local host port bindings
  • the legacy finlens_private network, pending later cleanup

@iPior
iPior marked this pull request as ready for review July 15, 2026 14:17
@iPior
iPior merged commit 2a3548f into main Jul 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant