Skip to content

Add Docker and PostgreSQL local development setup#3

Merged
Orlando-Alvarez merged 1 commit into
mainfrom
feat/add-docker-postgres
May 15, 2026
Merged

Add Docker and PostgreSQL local development setup#3
Orlando-Alvarez merged 1 commit into
mainfrom
feat/add-docker-postgres

Conversation

@Orlando-Alvarez

Copy link
Copy Markdown
Owner

Summary

This pull request adds Docker-based local development support for Ticket-API.

Changes

  • Added a Dockerfile for the FastAPI application.
  • Added docker-compose.yml with two services:
    • api for the FastAPI backend.
    • db for the PostgreSQL database.
  • Added .dockerignore to keep local development files out of the Docker image.
  • Updated .env.example with PostgreSQL-related environment variables.
  • Updated README.md with Docker usage instructions.

Validation

  • Confirmed the API starts successfully with Docker Compose.
  • Confirmed the health endpoint responds successfully:
GET /api/v1/health
  • Confirmed the API returns:
{
  "status": "ok",
  "service": "ticket-api",
  "version": "0.1.0"
}
  • Confirmed existing tests continue to pass with:
python -m pytest
  • Confirmed GitHub Actions CI passes successfully.

Notes

  • This PR does not add Alembic yet.
  • This PR does not add database migrations yet.
  • This PR does not add CRUD endpoints yet.
  • This PR does not add authentication yet.
  • This PR does not add cloud deployment configuration yet.

@Orlando-Alvarez Orlando-Alvarez merged commit 265049b into main May 15, 2026
2 checks passed
@Orlando-Alvarez Orlando-Alvarez deleted the feat/add-docker-postgres branch May 23, 2026 19:40
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