Skip to main content

Secrets for GitHub Actions

Set the following repository secrets for deployment:
  • EC2_SSH_KEY_PROD
    Get the content of your EC2 PEM file:
  • HOST_DNS_PROD
  • USERNAME_PROD
  • TARGET_DIR_PROD

Docker Maintenance

Delete all Docker-related data (network, volume, image):

Build and Run Product Service

To build and start only the product-service container:
To check the logs:

Health Check from API Gateway

Check product service health from within the API Gateway container:
Or, if you want to include a Bearer token (not required when calling from the API Gateway container):

CI/CD Configuration

The product service uses GitHub Actions for continuous integration and deployment. Here’s the complete CI/CD configuration: