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

41 lines
1018 B
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
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