121 lines
3.1 KiB
YAML
121 lines
3.1 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
|
|
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:3000
|
|
- API_BASE_URL=http://localhost:3000/api
|
|
cpus: 1
|
|
mem_limit: 2048m
|
|
|
|
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
|
|
|
|
networks:
|
|
wag-services:
|
|
driver: bridge
|