github.com/timoth-y/kicksware-api/order-service@v0.0.0-20201002192818-87b546a7ae5a/env/config.dev.yaml (about)

     1  commonConfig:
     2    host: localhost:8080
     3    hostname: api.kicksware.com
     4    usedDB: mongo
     5    contentType: application/json
     6    innerServiceFormat: rpc.kicksware.com:443
     7  securityConfig:
     8    tlsCertificate:
     9      enableTLS: false
    10  authConfig:
    11    publicKeyPath: ../key/public.key.pub
    12    tlsCertificate:
    13      enableTLS: true
    14      certFile: ../keys/server.crt
    15  mongoConfig:
    16    URL: mongodb://localhost:27017
    17    database: sneakerResaleDB
    18    collection: orders
    19    timeout: 30
    20    TLS:
    21      enableTLS: true
    22      certFile: certs/mongo/ca.crt
    23      keyFile: certs/mongo/tls.key
    24  redisConfig:
    25    URL: redis://localhost:6379
    26  postgresConfig:
    27    URL: postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@localhost:5432/sneakerResaleDB
    28    database: sneakerResaleDB
    29    collection: Orders
    30    timeout: 30