feat: add docker-compose for deployment

This commit is contained in:
2025-07-04 10:50:05 +02:00
parent a86e92d52e
commit 8dc9dfd100
35 changed files with 1106 additions and 130 deletions

View File

@@ -0,0 +1,58 @@
# Task Title
**Task ID:** 008
**Date Created:** 2025-07-04
**Author:** Gemini
---
## Task Description
This task is to containerize the application using Docker and Docker Compose. The project code will be cloned from a git repository before the build.
---
## Instructions
- A `Dockerfile` is created to define the build steps for the Next.js application.
- A `.dockerignore` file is created to exclude unnecessary files from the Docker build context.
- A `docker-compose.yml` file is created to define the services for the application.
---
## Input Data
- The git repository URL from `git.haider.app`.
---
## Expected Output
- A Docker image that can be run as a container.
- The application will be accessible on port 8150.
---
## Constraints & Requirements
- The project code must be cloned from a git repository.
- The application must run on port 8150.
---
## References (Optional)
- [Docker Documentation](https://docs.docker.com/)
- [Docker Compose Documentation](https://docs.docker.com/compose/)
---
## Metadata
| Key | Value |
|-----------------|------------------|
| Priority | High |
| Status | Done |
| Tags | Docker, Docker Compose, Deployment |
---