chore: Update Docker configuration and documentation
Some checks failed
API Docs (Node.js Express) / test (20) (push) Failing after 1m49s
API Docs (Node.js Express) / build (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Failing after 3m18s
Docker Build and Push / setup (push) Successful in 10s
API Gateway (Java Spring Boot) / test (21) (push) Successful in 1m56s
API Gateway (Java Spring Boot) / build (push) Has been skipped
Docker Build and Push / build-push-service-adapters (push) Failing after 29s
Docker Build and Push / build-push-api-gateway (push) Failing after 32s
Docker Build and Push / build-push-api-docs (push) Failing after 31s
Docker Build and Push / build-push-frontend (push) Failing after 28s
Docker Build and Push / test-compatibility (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 2m47s
Integration Tests / performance-tests (push) Has been skipped
Some checks failed
API Docs (Node.js Express) / test (20) (push) Failing after 1m49s
API Docs (Node.js Express) / build (push) Has been skipped
API Gateway (Java Spring Boot) / test (17) (push) Failing after 3m18s
Docker Build and Push / setup (push) Successful in 10s
API Gateway (Java Spring Boot) / test (21) (push) Successful in 1m56s
API Gateway (Java Spring Boot) / build (push) Has been skipped
Docker Build and Push / build-push-service-adapters (push) Failing after 29s
Docker Build and Push / build-push-api-gateway (push) Failing after 32s
Docker Build and Push / build-push-api-docs (push) Failing after 31s
Docker Build and Push / build-push-frontend (push) Failing after 28s
Docker Build and Push / test-compatibility (push) Has been skipped
Integration Tests / integration-tests (push) Failing after 2m47s
Integration Tests / performance-tests (push) Has been skipped
### Summary of Changes - Enhanced `docker-compose` files to include BuildKit compatibility settings for improved caching during builds. - Updated service definitions to use pre-built images from the specified Docker registry, ensuring consistency across environments. - Added Docker registry configuration to the `.env` example file for clarity on deployment settings. - Revised the `README.md` to include instructions for using pre-built images and local development setups, along with Docker compatibility troubleshooting steps. - Introduced health checks in the `Dockerfile` for the API Docs service to ensure container readiness. ### Expected Results - Improved build performance and deployment clarity, facilitating easier setup for new developers and enhancing overall project maintainability.
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
version: '3.8'
|
||||
|
||||
# Global BuildKit compatibility settings
|
||||
x-buildkit-args: &buildkit-args
|
||||
BUILDKIT_INLINE_CACHE: 1
|
||||
|
||||
services:
|
||||
# Database
|
||||
postgres:
|
||||
@@ -30,6 +34,7 @@ services:
|
||||
build:
|
||||
context: ./services/api-gateway
|
||||
dockerfile: Dockerfile.dev
|
||||
args: *buildkit-args
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
@@ -53,6 +58,7 @@ services:
|
||||
build:
|
||||
context: ./services/service-adapters
|
||||
dockerfile: Dockerfile.dev
|
||||
args: *buildkit-args
|
||||
ports:
|
||||
- "8000:8000"
|
||||
environment:
|
||||
@@ -72,6 +78,7 @@ services:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: Dockerfile.dev
|
||||
args: *buildkit-args
|
||||
ports:
|
||||
- "3000:3000"
|
||||
environment:
|
||||
@@ -90,6 +97,7 @@ services:
|
||||
build:
|
||||
context: ./services/api-docs
|
||||
dockerfile: Dockerfile.dev
|
||||
args: *buildkit-args
|
||||
ports:
|
||||
- "8083:8083"
|
||||
environment:
|
||||
|
||||
Reference in New Issue
Block a user