Skip to content

[FEAT] [MVP] Run the stack with Compose: API plus database, local env file, Dokploy deployment #3

Description

@nicky-mezzina-lhc

Motivation

We assume that the scaffolded backend only has make db-up to start PostgreSQL on its own and the API runs on the host through make dev.

There is no way to bring the whole stack up together, no committed environment mapping for local development, and no compose file.

Proposed Solution

Up to the developer.

Alternatives Considered

None, Compose and Postgres are accepted architectural decisions.

Acceptance Criteria

  • docker compose up runs the mock API server and the database service together
  • Local development reads environment variables from .env
  • A separate Dokploy-specific compose file exists for deployment
  • Documentation reflects both paths

Bonus, if possible

  • Run an mock operation that produces an artifact that persists in the database.

Additional Context

The same compose config can include other services from the backend stack: eg. Celery, Redis, RabbitMQ, if it's trivial enough to include.

Metadata

Metadata

Labels

documentationImprovements or additions to documentationenhancementNew feature or requestgood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions