2023-09-20 12:05:08 +08:00
|
|
|
|
server.port=5567
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
|
|
|
|
|
#datasource
|
2024-05-17 11:40:38 +08:00
|
|
|
|
spring.datasource.primary.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
spring.datasource.primary.jdbcUrl=jdbc:mysql://18.167.251.121:3306/aida?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
|
|
|
|
spring.datasource.primary.username=root
|
|
|
|
|
|
spring.datasource.primary.password=QWa998345
|
|
|
|
|
|
|
|
|
|
|
|
spring.datasource.secondary.driver-class-name=com.mysql.cj.jdbc.Driver
|
2024-07-09 09:46:41 +08:00
|
|
|
|
spring.datasource.secondary.jdbcUrl=jdbc:mysql://18.167.251.121:33008/attribute_retrieval_new_style?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
2024-05-17 11:40:38 +08:00
|
|
|
|
spring.datasource.secondary.username=aida_con
|
|
|
|
|
|
spring.datasource.secondary.password=123456
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
|
|
|
|
|
#security
|
|
|
|
|
|
spring.security.jwtSecret=JWTSECRET
|
|
|
|
|
|
spring.security.jwtTokenHeader=Authorization
|
|
|
|
|
|
spring.security.jwtTokenPrefix=Bearer-
|
|
|
|
|
|
## 24Сʱ
|
|
|
|
|
|
spring.security.jwtExpiration=8640000000
|
|
|
|
|
|
#spring security权限设置 认证了token还要认证权限 不然报错Full authentication is required to access this resource
|
|
|
|
|
|
spring.security.ignorePaths=/,/favicon.ico,/doc.html,/webjars/**,/swagger-resources,/v2/api-docs,\
|
2024-05-17 12:13:35 +08:00
|
|
|
|
/api/account/**,/api/element/**,/api/python/**,/api/design/**,/api/history/**,/api/library/**,/api/third/party/**,/api/generate/**,/api/workspace/**,/api/classification/**,\
|
2024-07-17 16:05:33 +08:00
|
|
|
|
/api/product/**,/api/ali-pay/**,/api/order-info/**,/api/paypal/**,/api/credits/**,/api/inquiry/**,/api/tasks/**,/api/python/prepareForSR,/api/alipay-hk/**,/api/portfolio/**,/api/stripe/**
|
2023-01-06 15:17:37 +08:00
|
|
|
|
spring.security.authApi=/auth/login
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rsa.private_key=MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
|
|
|
|
|
|
|
|
|
|
|
|
#mybatis
|
|
|
|
|
|
mybatis-plus.global-config.banner=false
|
2024-05-17 12:13:35 +08:00
|
|
|
|
mybatis-plus.mapper-locations=classpath:mapper/*/*.xml
|
2023-09-20 12:05:08 +08:00
|
|
|
|
mybatis-plus.global-config.db-config.logic-delete-field=isDeleted
|
|
|
|
|
|
mybatis-plus.global-config.db-config.logic-delete-value=1
|
|
|
|
|
|
mybatis-plus.global-config.db-config.logic-not-delete-value=0
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
|
|
|
|
|
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
|
|
|
|
|
|
|
|
|
|
|
|
file.mac.path=~/file/
|
|
|
|
|
|
file.linux.path=/workspace/home/aida/file/
|
|
|
|
|
|
#linux服务器域名(预览和下载用)
|
|
|
|
|
|
file.linuxDomain=https://www.aida.com.hk/download/
|
|
|
|
|
|
file.windows.path=D:\\upload\\
|
2024-01-27 16:32:18 +08:00
|
|
|
|
spring.servlet.multipart.max-file-size = 10MB
|
|
|
|
|
|
spring.servlet.multipart.max-request-size= 10MB
|
2023-01-06 15:17:37 +08:00
|
|
|
|
#访问python服务的ip(对应环境)
|
2023-12-22 12:09:00 +08:00
|
|
|
|
access.python.ip=http://18.167.251.121
|
2024-01-09 17:44:17 +08:00
|
|
|
|
access.python.port=9990
|
2024-07-09 11:07:01 +08:00
|
|
|
|
access.python.generate_sr_port=9990
|
|
|
|
|
|
access.python.address=http://18.167.251.121:9990
|
2023-09-20 12:05:08 +08:00
|
|
|
|
|
2024-07-09 10:13:32 +08:00
|
|
|
|
minio.endpoint=https://www.minio.aida.com.hk:12024
|
2023-12-22 12:09:00 +08:00
|
|
|
|
minio.accessKey=admin
|
2024-07-09 10:13:32 +08:00
|
|
|
|
minio.secretKey=Aidlab123123!
|
2023-09-20 12:05:08 +08:00
|
|
|
|
minio.bucketName.clothing=aida-clothing
|
|
|
|
|
|
minio.bucketName.mannequins=aida-mannequins
|
|
|
|
|
|
minio.bucketName.results=aida-results
|
|
|
|
|
|
minio.bucketName.sysImage=aida-sys-image
|
2024-01-02 11:53:09 +08:00
|
|
|
|
minio.bucketName.users=aida-users
|
2024-01-06 20:08:19 +08:00
|
|
|
|
minio.bucketName.collectionElement=aida-collection-element
|
2024-05-28 11:17:46 +08:00
|
|
|
|
minio.bucketName.gradient=aida-gradient
|
2024-07-09 09:46:41 +08:00
|
|
|
|
minio.bucketName.modifiedSketch=aida-modified-sketch
|
|
|
|
|
|
minio.bucketName.slogan=aida-slogan
|
2024-01-18 09:56:50 +08:00
|
|
|
|
redirect_url=http://18.167.251.121:7788
|
2024-01-25 13:37:17 +08:00
|
|
|
|
|
|
|
|
|
|
spring.rabbitmq.host=18.167.251.121
|
|
|
|
|
|
spring.rabbitmq.port=5672
|
|
|
|
|
|
spring.rabbitmq.username=rabbit
|
|
|
|
|
|
spring.rabbitmq.password=123456
|
|
|
|
|
|
spring.rabbitmq.virtual-host=/
|
|
|
|
|
|
|
2024-05-18 01:16:15 +08:00
|
|
|
|
spring.redis.host=172.31.11.32
|
|
|
|
|
|
#spring.redis.host=18.167.251.121
|
2024-01-25 13:37:17 +08:00
|
|
|
|
spring.redis.port=6379
|
2024-05-28 11:17:46 +08:00
|
|
|
|
spring.redis.database=2
|
2024-01-25 13:37:17 +08:00
|
|
|
|
spring.redis.password=Aidlab
|
|
|
|
|
|
spring.redis.lettuce.pool.max-active=8
|
|
|
|
|
|
spring.redis.lettuce.pool.max-idle=8
|
|
|
|
|
|
spring.redis.lettuce.pool.min-idle=0
|
|
|
|
|
|
spring.redis.lettuce.pool.max-wait=5
|
|
|
|
|
|
|
2024-05-17 12:13:35 +08:00
|
|
|
|
redis.key.orderForGenerate=OrderForGenerate
|
|
|
|
|
|
redis.key.generateCancelSet=GenerateCancelSet
|
|
|
|
|
|
redis.key.generateExceptionMap=Generate:Exception
|
|
|
|
|
|
redis.key.resultMap=ResultMap
|
|
|
|
|
|
redis.key.orderForSR=OrderForSR
|
|
|
|
|
|
redis.key.SRCancelSet=SRCancelSet
|
|
|
|
|
|
redis.key.SRExceptionMap=SRExceptionMap
|
|
|
|
|
|
redis.key.taskList=TaskList
|
|
|
|
|
|
redis.key.credits.pre-deduction=Credits:PreDeduction
|
2024-07-09 09:46:41 +08:00
|
|
|
|
redis.key.generateResult=Generate:Result
|
|
|
|
|
|
redis.key.toProductImageResultKey=ToProductImage:Result
|
|
|
|
|
|
redis.key.relightResultKey=Relight:Result
|
|
|
|
|
|
|
|
|
|
|
|
aws.s3.accessKeyId=AKIAVD3OJIMF6UJFLSHZ
|
|
|
|
|
|
aws.s3.secretKey=LNIwFFB27/QedtZ+Q/viVUoX9F5x1DbuM8N0DkD8
|
2024-09-27 15:33:20 +08:00
|
|
|
|
aws.s3.regionName=ap-east-1
|
|
|
|
|
|
|
|
|
|
|
|
# RabbitMQ Exchange and Queue configurations
|
|
|
|
|
|
generate.exchange=generate-exchange
|
|
|
|
|
|
generate.queue=generate-queue-prod
|
|
|
|
|
|
sr.queue=SR-queue-prod
|
|
|
|
|
|
sr.result.queue=SuperResolution-prod
|
|
|
|
|
|
generate.result.queue=GenerateImage-prod
|
|
|
|
|
|
to.product.image.result.queue=ToProductImage-prod
|
|
|
|
|
|
relight.result.queue=Relight-prod
|