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

204 lines
5.2 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
cpus: 1
mem_limit: 2048m
# volumes:
# - client-frontend:/WebServices/client-frontend
management_frontend:
container_name: management_frontend
build:
context: .
dockerfile: WebServices/management-frontend/Dockerfile
networks:
- wag-services
ports:
- "3001:3001"
environment:
- NODE_ENV=development
cpus: 1
mem_limit: 2048m
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"
mem_limit: 512m
cpus: 0.5
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: 512m
cpus: 0.5
management_service:
container_name: management_service
build:
context: .
dockerfile: ApiServices/ManagementService/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=8004
- API_LOG_LEVEL=info
- API_RELOAD=1
- API_APP_NAME=evyos-management-api-gateway
- API_TITLE=WAG API Management Api Gateway
- API_FORGOT_LINK=https://management_service/forgot-password
- API_DESCRIPTION=This api is serves as web management api gateway only to evyos web services.
- API_APP_URL=https://management_service
ports:
- "8004:8004"
mem_limit: 512m
cpus: 0.5
initializer_service:
container_name: initializer_service
build:
context: .
dockerfile: ApiServices/InitialService/Dockerfile
environment:
- SET_ALEMBIC=1
networks:
- wag-services
env_file:
- api_env.env
mem_limit: 512m
cpus: 0.5
dealer_service:
container_name: dealer_service
build:
context: .
dockerfile: ApiServices/DealerService/Dockerfile
networks:
- wag-services
env_file:
- api_env.env
mem_limit: 512m
cpus: 0.5
# 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"
# mem_limit: 512m
# cpus: 0.5
networks:
wag-services:
# 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