timoth-y/kicksware-api

View on GitHub
services/products/env/config.prod.yaml

Summary

Maintainability
Test Coverage
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: true
    certFile: certs/grpc/tls.crt
    keyFile: certs/grpc/tls.key
authConfig:
  publicKeyPath: keys/auth/public.key
  authEndpoint: https://api.kicksware.com/auth/guest
  tlsCertificate:
    enableTLS: true
    certFile: certs/grpc/tls.crt
  accessKey: $AUTH_ACCESS_KEY
mongoConfig:
  URL: mongodb://mongodb.infra:27017
  TLS:
    enableTLS: true
    certFile: certs/mongo/ca.crt
    keyFile: certs/mongo/tls.key
  database: sneakerResaleDB
  collection: products
  login: $MONGO_USER
  password: $MONGO_PASSWORD
  timeout: 45
redisConfig:
  URL: redis://redis:6379
postgresConfig:
  URL: postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@postgres:5432/sneakerResaleDB
  database: sneakerResaleDB
  collection: Products
  login: $POSTGRES_USER
  password: $POSTGRES_PASSWORD
  timeout: 45