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

83 lines
2.3 KiB
YAML

services:
auth_service:
container_name: auth_service
build:
context: .
dockerfile: api_services/api_builds/auth_service/Dockerfile
env_file:
- api_env.env
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
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
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
networks:
wag-services:
driver: bridge