Backend modules from tastefully 8bd93d15: core-libs, core-session, api-gateway, mobile-api, services-auth, services-system, services-counter, services-member, services-log, services-email. solvway-admin-portal from babyboo f64d096ea, solvway-customer-portal from tastefully 8bd93d15. Copied as tracked files only. Literal secrets replaced with environment placeholders: - services-email: SMTP_PASSWORD, MAILGUN_API_KEY, SENDGRID_API_KEY, MAILJET_API_KEY, MAILJET_SECRET_KEY (optional, empty default) - services-system: JUMIO_TOKEN, JUMIO_SECRET (optional) - services-auth: USER_AUTH_API_SECRET (required); commented JWT secret removed - core-libs: JWT_TOKEN default removed (required), XXL_JOB_TOKEN default removed, ipgeolocation key read from IPGEOLOCATION_API_KEY - services-system EkycAppConfig: commented Jumio credentials removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EFUzfj5akPxyikzGc2iAHM
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
app:
|
|
api-key: ${APIKEY:}
|
|
api-gateway-url: ${APIGATEWAYURL}
|
|
# TODO: confirm real customer-portal host
|
|
customer-portal-base-url: ${CUSTOMER_PORTAL_BASE_URL:https://user.tastefullyexpo.com}
|
|
system:
|
|
format:
|
|
date: dd-MM-yyyy
|
|
time: HH:mm:ss
|
|
dateTime: dd-MM-yyyy HH:mm:ss
|
|
decimal-point: 2
|
|
decimal-point-bv: 0
|
|
decimal-point-currency: 4
|
|
decimal-point-bonus: 4
|
|
server:
|
|
port: 80
|
|
spring:
|
|
cloud:
|
|
gcp:
|
|
project-id: ${GCP_PROJECT}
|
|
credentials:
|
|
location: ${GCP_CREDENTIAL_FILE}
|
|
data:
|
|
redis:
|
|
host: ${REDISHOST}
|
|
port: 6379
|
|
database: 3
|
|
threads:
|
|
virtual:
|
|
enabled: true
|
|
cache:
|
|
time-to-live: 14400 # Seconds; 4hrs * 60minutes * 60seconds = 14400seconds
|
|
time-to-live-public: 1800 #30min
|
|
auth:
|
|
api-key:
|
|
# Comma-separated inbound client API keys, supplied by the AUTH_API_KEYS environment variable.
|
|
# Each token is "<key>" or "<key>:<PLATFORM>" where PLATFORM is a CmsPlatform name
|
|
# (APP=mobile app, CP=customer portal). The resolved platform is stamped on every
|
|
# response-time log; a bare key defaults to APP. Never commit key material here.
|
|
list: ${AUTH_API_KEYS:}
|
|
jwt:
|
|
# HS512 signing secret, supplied by the JWT_SECRET environment variable (minimum 32 characters).
|
|
secret: ${JWT_SECRET:} |