PHP Classes

File: .env.customer.container.example

Recommend this page to a friend!
  Packages of Ramesh Narayan Jangid (Sharma)   Open Swoole Microservices   .env.customer.container.example   Download  
File: .env.customer.container.example
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Open Swoole Microservices
Implement microservices using Open Swoole
Author: By
Last change: refactor
Date: 16 days ago
Size: 1,355 bytes
 

Contents

Class file image Download
; ; Container related configs for customer ; ; --- Customer Container detail ------- ; ---- Global Customer Cache (for Api Gateway) ; Supported Container - Redis / Memcached / MongoDb ; (param names are dynamic in code - names can be changed in DB) cCacheServerType001='Redis' cCacheServerHostname001='127.0.0.1' cCacheServerPort001=6379 cCacheServerUsername001='kartik' cCacheServerPassword001='shames11' cCacheServerDatabase001=0 cCacheServerTable001='customer_001' ; For MongoDb ; ------ Dedicated Database for Customer 001 -------- ; Dedicated database for each customer on single host ; Only database changes rest detail remains same. ; Supported Container - MySql / PostgreSql cDbServerType001='MySql' cDbServerHostname001='127.0.0.1' cDbServerPort001=3306 cDbServerUsername001='root' cDbServerPassword001='shames11' cDbServerDatabase001='customer_001' cDbServerQueryPlaceholder001='Named' ; Named(:param) / Unnamed(?) ; ---- Query cache for cache hit of generated APIs output ; Supported Container - Redis / Memcached / MongoDb ; (param name are hardcoded in code - names cannot be changed) queryCacheServerType='Redis' queryCacheServerHostname='127.0.0.1' queryCacheServerPort=6379 queryCacheServerUsername='ramesh' queryCacheServerPassword='shames11' queryCacheServerDatabase=0 queryCacheServerTable='api_cache' ; For MongoDb