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

368 lines
9.9 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
# tester_service:
# container_name: tester_service
# build:
# context: .
# dockerfile: ServicesApi/Builds/TestApi/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-tester-api-gateway
# - API_TITLE=WAG API Tester Api Gateway
# - API_DESCRIPTION=This api is serves as web tester api gateway only to evyos web services.
# - API_APP_URL=https://tester_service
# ports:
# - "8005:8005"
# account_service:
# container_name: account_service
# build:
# context: .
# dockerfile: ServicesApi/Builds/Account/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: ServicesApi/Builds/Building/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: ServicesApi/Builds/Identity/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: ServicesApi/Builds/Auth/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: ServicesApi/Builds/Restriction/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: ServicesApi/Builds/Management/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 python3 app_accounts.py
finder_build_from_iban_service:
container_name: finder_build_from_iban_service
env_file:
- api_env.env
build:
context: .
dockerfile: ServicesBank/Finder/BuildFromIban/Dockerfile
networks:
- wag-services
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
finder_build_living_space_service:
container_name: finder_build_living_space_service
env_file:
- api_env.env
build:
context: .
dockerfile: ServicesBank/Finder/BuildLivingSpace/Dockerfile
networks:
- wag-services
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
finder_decision_book_service:
container_name: finder_decision_book_service
env_file:
- api_env.env
build:
context: .
dockerfile: ServicesBank/Finder/DecisionBook/Dockerfile
networks:
- wag-services
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
zemberek-api:
build:
context: .
dockerfile: ServicesBank/Zemberek/Dockerfile
container_name: zemberek-api
ports:
- "8111:8111"
restart: unless-stopped
finder_payment_service:
container_name: finder_payment_service
env_file:
- api_env.env
build:
context: .
dockerfile: ServicesBank/Finder/Payment/Dockerfile
networks:
- wag-services
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
# cpus: 0.25
# mem_limit: 512m
# address_service:
# container_name: address_service
# build:
# context: .
# dockerfile: ServicesApi/Builds/Address/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: ServicesApi/Builds/DecisionBook/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: ServicesApi/Builds/ProjectDecisionBook/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: ServicesApi/Builds/Company/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"
initializer_service:
container_name: initializer_service
build:
context: .
dockerfile: ServicesApi/Builds/Initial/Dockerfile
environment:
- SET_ALEMBIC=0
networks:
- wag-services
env_file:
- api_env.env
# mem_limit: 512m
# cpus: 0.5
networks:
wag-services:
driver: bridge