updated Service providers

This commit is contained in:
2025-04-05 22:54:05 +03:00
parent fa4df11323
commit 60507c87e0
21 changed files with 1134 additions and 183 deletions

View File

@@ -1,5 +1,4 @@
services:
mongo_service:
container_name: mongo_service
image: "bitnami/mongodb:latest"
@@ -59,70 +58,66 @@ services:
- wag-services
ports:
- "3000:3000"
volumes:
- .WebServices/client-frontend:WebServices/client-frontend
- WebServices/client-frontend/node_modules
- WebServices/client-frontend/.next
# volumes:
# - client-frontend:/WebServices/client-frontend
environment:
- NODE_ENV=development
management_frontend:
container_name: management_frontend
build:
context: .
dockerfile: WebServices/management-frontend/Dockerfile
networks:
- wag-services
ports:
- "3001:3000" # Using different host port to avoid conflicts
volumes:
- .WebServices/management-frontend:WebServices/management-frontend
- WebServices/management-frontend/node_modules
- WebServices/management-frontend/.next
environment:
- NODE_ENV=development
# management_frontend:
# container_name: management_frontend
# build:
# context: .
# dockerfile: WebServices/management-frontend/Dockerfile
# networks:
# - wag-services
# ports:
# - "3001:3000" # Using different host port to avoid conflicts
# # volumes:
# # - management-frontend:/WebServices/management-frontend
# environment:
# - NODE_ENV=development
# initializer_service:
# container_name: initializer_service
# build:
# context: .
# dockerfile: ApiServices/InitialService/Dockerfile
# networks:
# - wag-services
# env_file:
# - api_env.env
# depends_on:
# - postgres-service
# - mongo_service
# - redis_service
# initializer_service:
# container_name: initializer_service
# build:
# context: .
# dockerfile: ApiServices/InitialService/Dockerfile
# networks:
# - wag-services
# env_file:
# - api_env.env
# depends_on:
# - postgres-service
# - mongo_service
# - redis_service
# template_service:
# container_name: template_service
# build:
# context: .
# dockerfile: ApiServices/TemplateService/Dockerfile
# networks:
# - wag-services
# env_file:
# - api_env.env
# environment:
# - API_PATH=app:app
# - API_HOST=0.0.0.0
# - API_PORT=8000
# - API_LOG_LEVEL=info
# - API_RELOAD=1
# - API_ACCESS_TOKEN_TAG=1
# - API_APP_NAME=evyos-template-api-gateway
# - API_TITLE=WAG API Template Api Gateway
# - API_FORGOT_LINK=https://template_service/forgot-password
# - API_DESCRIPTION=This api is serves as web template api gateway only to evyos web services.
# - API_APP_URL=https://template_service
# ports:
# - "8000:8000"
# depends_on:
# - postgres-service
# - mongo_service
# - redis_service
# template_service:
# container_name: template_service
# build:
# context: .
# dockerfile: ApiServices/TemplateService/Dockerfile
# networks:
# - wag-services
# env_file:
# - api_env.env
# environment:
# - API_PATH=app:app
# - API_HOST=0.0.0.0
# - API_PORT=8000
# - API_LOG_LEVEL=info
# - API_RELOAD=1
# - API_ACCESS_TOKEN_TAG=1
# - API_APP_NAME=evyos-template-api-gateway
# - API_TITLE=WAG API Template Api Gateway
# - API_FORGOT_LINK=https://template_service/forgot-password
# - API_DESCRIPTION=This api is serves as web template api gateway only to evyos web services.
# - API_APP_URL=https://template_service
# ports:
# - "8000:8000"
# depends_on:
# - postgres-service
# - mongo_service
# - redis_service
auth_service:
container_name: auth_service
@@ -161,10 +156,11 @@ services:
# networks:
# - wag-services
networks:
wag-services:
volumes:
postgres-data:
mongodb-data:
client-frontend:
management-frontend: