application-saaslocal.yml 1.21 KB
# Local override profile so xlyAi runs against the saas-8s+ local stack on macOS.
#
#   Run:  JAVA_HOME=$(/usr/libexec/java_home -v 17) ./mvnw spring-boot:run \
#             -Dspring-boot.run.profiles=saaslocal
#
# Only overrides what differs from the committed application.yml (which targets a
# remote Windows deploy). Redis already points at the local shared redis-local
# (127.0.0.1:16379 / db 0) so it is inherited unchanged. Milvus/Ollama stay remote
# — their clients are lazy, so the app boots even if they are unreachable.
logging:
  dirpath: /Users/reporkey/Desktop/saas-8s+/logs/xlyAi

spring:
  datasource:
    # Local saas DB from docker-compose.saas.yml (mysql-saas, root/local).
    url: jdbc:mysql://127.0.0.1:33307/xlyweberp_saas?allowPublicKeyRetrieval=true&keepAlive=true&autoReconnect=true&autoReconnectForPools=true&connectTimeout=30000&socketTimeout=180000&nullCatalogMeansCurrent=true&allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=utf-8&failOverReadOnly=false&serverTimezone=Asia/Shanghai&zeroDateTimeBehavior=CONVERT_TO_NULL
    username: root
    password: local

# macOS-friendly temp path (was D:/xlyweberp/ai/ocrtmp)
ocr:
  tmpPath: /Users/reporkey/Desktop/saas-8s+/tempPath/ocrtmp