Skip to content

Feature/dockerize#12

Open
Ke-vin-S wants to merge 2 commits into
devfrom
feature/dockerize
Open

Feature/dockerize#12
Ke-vin-S wants to merge 2 commits into
devfrom
feature/dockerize

Conversation

@Ke-vin-S
Copy link
Copy Markdown

No description provided.

@Ke-vin-S Ke-vin-S requested a review from Copilot May 10, 2025 19:51
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR dockerizes the application by introducing container configuration for both the frontend and backend, while also integrating related services.

  • Added a Dockerfile for the Angular frontend.
  • Introduced a docker-compose.yaml to orchestrate backend, frontend, PostgreSQL, Adminer, IPFS, Kafka, and Zookeeper.
  • Updated the backend configuration to use dj-database-url for database connectivity.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
frontend/Dockerfile Added a Dockerfile to containerize the Angular app.
docker-compose.yaml Introduced service orchestration for all components.
blocktrack_backend/requirements.txt Added dj-database-url as a new dependency.
blocktrack_backend/blocktrack_backend/settings.py Updated database configuration using dj-database-url.
blocktrack_backend/Dockerfile Added a Dockerfile to containerize the Django backend.
.env.example Provided example environment variable settings.

Comment thread docker-compose.yaml

# 🧿 IPFS node
ipfs:
image: ipfs/go-ipfs:latest
Copy link

Copilot AI May 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] Consider pinning a specific version for the ipfs/go-ipfs image rather than using ':latest' to improve reproducibility and stability.

Suggested change
image: ipfs/go-ipfs:latest
image: ipfs/go-ipfs:v0.18.1

Copilot uses AI. Check for mistakes.
Comment thread docker-compose.yaml
- kafka_zookeeper

kafka_zookeeper:
image: bitnami/zookeeper:latest
Copy link

Copilot AI May 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] It is advisable to specify a fixed version for bitnami/zookeeper instead of using ':latest' to avoid unexpected changes from future updates.

Suggested change
image: bitnami/zookeeper:latest
image: bitnami/zookeeper:3.8.0

Copilot uses AI. Check for mistakes.
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.

2 participants