wag-managment-api-service-v.../DockerApiServices
berkay 1ba2694a9d updated docs 2025-01-22 21:46:11 +03:00
..
AllApiNeeds updated docs 2025-01-22 21:46:11 +03:00
AuthServiceApi validations updated 2025-01-19 21:06:00 +03:00
EventServiceApi validations updated 2025-01-19 21:06:00 +03:00
ValidationServiceApi validations updated 2025-01-19 21:06:00 +03:00
README.md update events via wrapper routers 2025-01-16 19:32:59 +03:00
pyproject.toml event to functon handler completed 2025-01-15 19:18:11 +03:00
requirements.txt auth service completed and tested 2025-01-14 19:16:24 +03:00
steps.txt auth service completed and tested 2025-01-14 19:16:24 +03:00

README.md

Docker Services Guide

This repository contains multiple microservices that can be run using Docker Compose.

Quick Start (With Cache)

For regular development when dependencies haven't changed:

# Build and run Auth Service
docker compose -f docker-compose-services.yml up auth-service

# Build and run Event Service
docker compose -f docker-compose-services.yml up event-service

# Build and run Validation Service
docker compose -f docker-compose-services.yml up validation-service

# Build and run all services
docker compose -f docker-compose-services.yml up

Clean Build (No Cache)

Use these commands when changing Dockerfile or dependencies:

# Auth Service
docker compose -f docker-compose-services.yml build --no-cache auth-service && docker compose -f docker-compose-services.yml up auth-service

# Event Service
docker compose -f docker-compose-services.yml build --no-cache event-service && docker compose -f docker-compose-services.yml up event-service

# Validation Service
docker compose -f docker-compose-services.yml build --no-cache validation-service && docker compose -f docker-compose-services.yml up validation-service

# All Services
docker compose -f docker-compose-services.yml build --no-cache && docker compose -f docker-compose-services.yml up

Service Ports

Development Notes

  • Use clean build (--no-cache) when:
    • Changing Dockerfile
    • Updating dependencies
    • Experiencing caching issues
  • Use regular build (with cache) when:
    • Only changing application code
    • For faster development iterations
  • Run in detached mode:
    docker compose -f docker-compose-services.yml up -d auth-service
    
  • Stop services:
    docker compose -f docker-compose-services.yml down