docker-compose.prod.yml
467 Bytes
services:
backend:
build:
context: .
dockerfile: Dockerfile.prod
volumes: []
env_file:
- path: .env
required: false
environment:
- DATABASE_URL=${DATABASE_URL}
- IM_BASE_URL=${IM_BASE_URL:-http://yjy.dev.glsx.com.cn/webim}
- USE_CONSOLE_IM=${USE_CONSOLE_IM:-false}
deploy:
resources:
limits:
memory: 2G
cpus: "2.0"
im-service:
image: ${IM_IMAGE:-nginx:alpine}