services/users/env/config.k8s.yaml
commonConfig:
host: 0.0.0.0:8080
hostname: kicksware.com
usedDB: mongo
contentType: application/json
apiEndpointFormat: https://api.kicksware.com/%s
rpcEndpointFormat: rpc.kicksware.com:443
securityConfig:
tlsCertificate:
enableTLS: false
authConfig:
issuerName: middleware/user-service
tokenExpirationDelta: 360
privateKeyPath: keys/auth/private.key
publicKeyPath: keys/auth/public.key
accessKey: $AUTH_ACCESS_KEY
mailConfig:
server: $MAIL_SERVER
address: $MAIL_ADDRESS
password: $MAIL_PASSWORD
verifyEmailTemplate: template/verify.template.html
resetPasswordTemplate: template/reset.template.html
notificationTemplate: template/notification.template.html
fallbackMailConfig:
server: $FALLBACK_MAIL_SERVER
address: $FALLBACK_MAIL_ADDRESS
password: $FALLBACK_MAIL_PASSWORD
verifyEmailTemplate: template/verify.template.html
resetPasswordTemplate: template/reset.template.html
notificationTemplate: template/notification.template.html
usersDBConfig:
URL: mongodb://mongodb.infra:27017
TLS:
enableTLS: false
certFile: certs/mongo/ca.crt
keyFile: certs/mongo/tls.key
database: sneakerResaleDB
collection: users
login: $MONGO_USER
password: $MONGO_PASSWORD
timeout: 30
likesDBConfig:
URL: mongodb://mongodb.infra:27017
TLS:
enableTLS: true
certFile: certs/mongo/ca.crt
keyFile: certs/mongo/tls.key
database: sneakerResaleDB
collection: likes
login: $MONGO_USER
password: $MONGO_PASSWORD
timeout: 10
remotesDBConfig:
URL: mongodb://mongodb.infra:27017
TLS:
enableTLS: true
certFile: certs/mongo/ca.crt
keyFile: certs/mongo/tls.key
database: sneakerResaleDB
collection: remotes
login: $MONGO_USER
password: $MONGO_PASSWORD
timeout: 15
subscriptionsDBConfig:
URL: mongodb://mongodb.infra:27017
TLS:
enableTLS: true
certFile: certs/mongo/ca.crt
keyFile: certs/mongo/tls.key
database: sneakerResaleDB
collection: subscriptions
login: $MONGO_USER
password: $MONGO_PASSWORD
timeout: 15
personalConfig:
sunnyUserEmail: $SUNNY_USER_EMAIL
sunnyUserIdPrefix: $SUNNY_USER_ID_PREFIX