Refactor auth-service to iam-service and update related configurations

- Renamed auth-service to iam-service across various files for consistency.
- Updated deployment workflows, database migration scripts, and documentation to reflect the service name change.
- Enhanced bilingual documentation for clarity on the new service structure and usage.
- Removed outdated references to auth-service in scripts and configuration files to streamline the project structure.
This commit is contained in:
Ho Ngoc Hai
2025-12-30 21:03:00 +07:00
parent b104fafa85
commit 019c79b898
23 changed files with 57 additions and 58 deletions

View File

@@ -76,7 +76,7 @@ EMAIL_FROM=noreply@goodgo.vn
# ---------------------------------
# The following are defined PER SERVICE in docker-compose.yml:
# - PORT: Unique port for each service (5001, 5002, 5003, etc.)
# - SERVICE_NAME: Service identifier (auth-service, user-service, etc.)
# - SERVICE_NAME: Service identifier (iam-service, user-service, etc.)
# - DATABASE_URL: Can override for service-specific database
#
# Traefik API Gateway:

View File

@@ -3,7 +3,7 @@
# Use this as a template to create secrets
# Create secret using kubectl:
# kubectl create secret generic auth-service-secrets \
# kubectl create secret generic iam-service-secrets \
# --from-literal=database-url='postgresql://user:pass@ep-xxx.region.neon.tech/dbname?sslmode=require&pgbouncer=true' \
# --from-literal=jwt-secret='your-production-jwt-secret-min-32-chars' \
# --from-literal=jwt-refresh-secret='your-production-refresh-secret-min-32-chars' \
@@ -18,7 +18,7 @@
apiVersion: v1
kind: Secret
metadata:
name: auth-service-secrets
name: iam-service-secrets
namespace: production
type: Opaque
stringData:

View File

@@ -3,7 +3,7 @@
# Use this as a template to create secrets
# Create secret using kubectl:
# kubectl create secret generic auth-service-secrets \
# kubectl create secret generic iam-service-secrets \
# --from-literal=database-url='postgresql://user:pass@ep-xxx.region.neon.tech/dbname?sslmode=require&pgbouncer=true' \
# --from-literal=jwt-secret='your-staging-jwt-secret-min-32-chars' \
# --from-literal=jwt-refresh-secret='your-staging-refresh-secret-min-32-chars' \
@@ -18,7 +18,7 @@
apiVersion: v1
kind: Secret
metadata:
name: auth-service-secrets
name: iam-service-secrets
namespace: staging
type: Opaque
stringData: