prod-wag-backend-automate-s.../docker-compose.yml

169 lines
4.3 KiB
YAML

services:
client_frontend:
container_name: client_frontend
build:
context: .
dockerfile: WebServices/client-frontend/Dockerfile
networks:
- wag-services
ports:
- "3000:3000"
environment:
- NODE_ENV=development
# volumes:
# - client-frontend:/WebServices/client-frontend
identity_service:
container_name: identity_service
build:
context: .
dockerfile: ApiServices/IdentityService/Dockerfile
networks:
- wag-services
depends_on:
- initializer_service
env_file:
- api_env.env
environment:
- API_PATH=app:app
- API_HOST=0.0.0.0
- API_PORT=8002
- API_LOG_LEVEL=info
- API_RELOAD=1
- API_APP_NAME=evyos-identity-api-gateway
- API_TITLE=WAG API Identity Api Gateway
- API_FORGOT_LINK=https://identity_service/forgot-password
- API_DESCRIPTION=This api is serves as web identity api gateway only to evyos web services.
- API_APP_URL=https://identity_service
ports:
- "8002:8002"
mem_limit: 4096m
cpus: 3
auth_service:
container_name: auth_service
build:
context: .
dockerfile: ApiServices/AuthService/Dockerfile
networks:
- wag-services
env_file:
- api_env.env
depends_on:
- initializer_service
environment:
- API_PATH=app:app
- API_HOST=0.0.0.0
- API_PORT=8001
- API_LOG_LEVEL=info
- API_RELOAD=1
- API_APP_NAME=evyos-auth-api-gateway
- API_TITLE=WAG API Auth Api Gateway
- API_FORGOT_LINK=https://auth_service/forgot-password
- API_DESCRIPTION=This api is serves as web auth api gateway only to evyos web services.
- API_APP_URL=https://auth_service
ports:
- "8001:8001"
building_service:
container_name: building_service
build:
context: .
dockerfile: ApiServices/BuildingService/Dockerfile
networks:
- wag-services
env_file:
- api_env.env
depends_on:
- initializer_service
environment:
- API_PATH=app:app
- API_HOST=0.0.0.0
- API_PORT=8003
- API_LOG_LEVEL=info
- API_RELOAD=1
- API_APP_NAME=evyos-building-api-gateway
- API_TITLE=WAG API Building Api Gateway
- API_FORGOT_LINK=https://building_service/forgot-password
- API_DESCRIPTION=This api is serves as web building api gateway only to evyos web services.
- API_APP_URL=https://building_service
ports:
- "8003:8003"
initializer_service:
container_name: initializer_service
build:
context: .
dockerfile: ApiServices/InitialService/Dockerfile
environment:
- SET_ALEMBIC=0
networks:
- wag-services
env_file:
- api_env.env
dealer_service:
container_name: dealer_service
build:
context: .
dockerfile: ApiServices/DealerService/Dockerfile
networks:
- wag-services
env_file:
- api_env.env
networks:
wag-services:
# client-frontend:
# management-frontend:
# 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
# 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_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
# test_server:
# container_name: test_server
# build:
# context: .
# dockerfile: ApiServices/Dockerfile
# env_file:
# - api_env.env
# networks:
# - wag-services