production-evyos-systems-an.../docs/frontDocs/docker-compose.yml

275 lines
7.8 KiB
YAML

services:
client_frontend:
container_name: client_frontend
build:
context: .
dockerfile: web_services/client_frontend/Dockerfile
networks:
- wag-services
ports:
- "3000:3000"
environment:
- NODE_ENV=development
- WEB_BASE_URL=http://localhost:3000
- API_BASE_URL=http://localhost:3000/api
cpus: 1.5
mem_limit: 2048m
# management_frontend:
# container_name: management_frontend
# build:
# context: .
# dockerfile: web_services/management_frontend/Dockerfile
# networks:
# - wag-services
# ports:
# - "3001:3000"
# environment:
# - NODE_ENV=development
# - WEB_BASE_URL=http://localhost:3001
# - API_BASE_URL=http://localhost:3001/api
# cpus: 1
# mem_limit: 2048m
# account_service:
# container_name: account_service
# build:
# context: .
# dockerfile: api_services/api_builds/account_service/Dockerfile
# env_file:
# - api_env.env
# networks:
# - wag-services
# 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-account-api-gateway
# - API_TITLE=WAG API Account Api Gateway
# - API_DESCRIPTION=This api is serves as web account api gateway only to evyos web services.
# - API_APP_URL=https://account_service
# ports:
# - "8004:8004"
# building_service:
# container_name: building_service
# build:
# context: .
# dockerfile: api_services/api_builds/building_service/Dockerfile
# env_file:
# - api_env.env
# networks:
# - wag-services
# environment:
# - API_PATH=app:app
# - API_HOST=0.0.0.0
# - API_PORT=8006
# - API_LOG_LEVEL=info
# - API_RELOAD=1
# - API_APP_NAME=evyos-building-api-gateway
# - API_TITLE=WAG API Building Api Gateway
# - API_DESCRIPTION=This api is serves as web building api gateway only to evyos web services.
# - API_APP_URL=https://building_service
# ports:
# - "8006:8006"
identity_service:
container_name: identity_service
build:
context: .
dockerfile: api_services/api_builds/identity_service/Dockerfile
env_file:
- api_env.env
networks:
- wag-services
environment:
- API_PATH=app:app
- API_HOST=0.0.0.0
- API_PORT=8009
- API_LOG_LEVEL=info
- API_RELOAD=1
- API_APP_NAME=evyos-identity-api-gateway
- API_TITLE=WAG API Identity Api Gateway
- API_DESCRIPTION=This api is serves as web identity api gateway only to evyos web services.
- API_APP_URL=https://identity_service
ports:
- "8009:8009"
auth_service:
container_name: auth_service
build:
context: .
dockerfile: api_services/api_builds/auth_service/Dockerfile
env_file:
- api_env.env
networks:
- wag-services
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"
# restart: unless-stopped
restriction_service:
container_name: restriction_service
build:
context: .
dockerfile: api_services/api_builds/restriction_service/Dockerfile
env_file:
- api_env.env
networks:
- wag-services
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-restriction-api-gateway
- API_TITLE=WAG API Restriction Api Gateway
- API_DESCRIPTION=This api is serves as web restriction api gateway only to evyos web services.
- API_APP_URL=https://restriction_service
ports:
- "8002:8002"
# restart: unless-stopped
management_service:
container_name: management_service
build:
context: .
dockerfile: api_services/api_builds/management_service/Dockerfile
env_file:
- api_env.env
networks:
- wag-services
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-management-api-gateway
- API_TITLE=WAG API Management Api Gateway
- API_DESCRIPTION=This api is serves as web management api gateway only to evyos web services.
- API_APP_URL=https://management_service
ports:
- "8003:8003"
# restart: unless-stopped
# initializer_service:
# container_name: initializer_service
# build:
# context: .
# dockerfile: api_services/api_builds/initial_service/Dockerfile
# environment:
# - SET_ALEMBIC=0
# networks:
# - wag-services
# env_file:
# - api_env.env
# mem_limit: 512m
# cpus: 0.5
# address_service:
# container_name: address_service
# build:
# context: .
# dockerfile: api_services/api_builds/address_service/Dockerfile
# env_file:
# - api_env.env
# networks:
# - wag-services
# environment:
# - API_PATH=app:app
# - API_HOST=0.0.0.0
# - API_PORT=8009
# - API_LOG_LEVEL=info
# - API_RELOAD=1
# - API_APP_NAME=evyos-address-api-gateway
# - API_TITLE=WAG API Address Api Gateway
# - API_DESCRIPTION=This api is serves as web address api gateway only to evyos web services.
# - API_APP_URL=https://address_service
# ports:
# - "8009:8009"
# decision_book_service:
# container_name: decision_book_service
# build:
# context: .
# dockerfile: api_services/api_builds/decision_book_service/Dockerfile
# env_file:
# - api_env.env
# networks:
# - wag-services
# environment:
# - API_PATH=app:app
# - API_HOST=0.0.0.0
# - API_PORT=8007
# - API_LOG_LEVEL=info
# - API_RELOAD=1
# - API_APP_NAME=evyos-decision-book-api-gateway
# - API_TITLE=WAG API Decision Book Api Gateway
# - API_DESCRIPTION=This api is serves as web decision book api gateway only to evyos web services.
# - API_APP_URL=https://decision_book_service
# ports:
# - "8007:8007"
# project_decision_book_service:
# container_name: project_decision_book_service
# build:
# context: .
# dockerfile: api_services/api_builds/project_decision_book_service/Dockerfile
# env_file:
# - api_env.env
# networks:
# - wag-services
# environment:
# - API_PATH=app:app
# - API_HOST=0.0.0.0
# - API_PORT=8008
# - API_LOG_LEVEL=info
# - API_RELOAD=1
# - API_APP_NAME=evyos-project-decision-book-api-gateway
# - API_TITLE=WAG API Project Decision Book Api Gateway
# - API_DESCRIPTION=This api is serves as web project decision book api gateway only to evyos web services.
# - API_APP_URL=https://project_decision_book_service
# ports:
# - "8008:8008"
# company_service:
# container_name: company_service
# build:
# context: .
# dockerfile: api_services/api_builds/company_service/Dockerfile
# env_file:
# - api_env.env
# networks:
# - wag-services
# environment:
# - API_PATH=app:app
# - API_HOST=0.0.0.0
# - API_PORT=8005
# - API_LOG_LEVEL=info
# - API_RELOAD=1
# - API_APP_NAME=evyos-company-api-gateway
# - API_TITLE=WAG API Company Api Gateway
# - API_DESCRIPTION=This api is serves as web company api gateway only to evyos web services.
# - API_APP_URL=https://company_service
# ports:
# - "8005:8005"
networks:
wag-services:
driver: bridge