x-defaults: &defaults
  restart: unless-stopped
  logging:
    driver: json-file
    options:
      max-size: 100m
      max-file: '3'

services:
  # Note: OpenCoze is a complex platform that requires multiple services.
  # This is a placeholder configuration. For full deployment, please refer to:
  # https://github.com/coze-dev/coze-studio/tree/main/docker

  opencoze-info:
    image: ${GLOBAL_REGISTRY:-}alpine:latest
    environment:
      - TZ=${TZ:-UTC}
    command: >
      sh -c "echo 'OpenCoze requires a complex multi-service setup.' &&
             echo 'Please visit https://github.com/coze-dev/coze-studio for full deployment instructions.' &&
             echo 'The official docker-compose includes: MySQL, Redis, Elasticsearch, MinIO, etcd, Milvus, NSQ, and the Coze server.' &&
             echo 'For production deployment, consider using their official docker-compose.yml directly.' &&
             tail -f /dev/null"
    deploy:
      resources:
        limits:
          cpus: ${OPENCOZE_INFO_CPU_LIMIT:-0.1}
          memory: ${OPENCOZE_INFO_MEMORY_LIMIT:-64M}
