feat: add docker-compose for deployment
This commit is contained in:
58
ai_docs/008_dockerize_application.md
Normal file
58
ai_docs/008_dockerize_application.md
Normal 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 |
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user