PHP Classes

File: Env.global.container.example.md

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

Contents

Class file image Download

Global Container detail

Global cache

; (Redis) user <username> allcommands allkeys on ><password>
; used to save user and token related detail
; Supported Container - Redis / Memcached / MongoDb
gCacheServerType='Redis'
gCacheServerHostname='127.0.0.1'
gCacheServerPort=6379
gCacheServerUsername='ramesh'
gCacheServerPassword='shames11'
gCacheServerDatabase=0
gCacheServerTable='global_cache' ; For MongoDb

Global Database

; Global Database detail - global.sql
; Supported Container - MySql / PostgreSql
gDbServerType='MySql'
gDbServerHostname='127.0.0.1'
gDbServerPort=3306
gDbServerUsername='root'
gDbServerPassword='shames11'
gDbServerDatabase='global'
gDbServerQueryPlaceholder='Named' ; Named(:param) / Unnamed(?)

Other database configs

; Master database on global MySql server
customerMasterDb='customer_master'             ; contains all entities necessary for a new customer

; Tables
customerTable='customer'
groupTable='group'

; SQL query placeholder
queryPlaceholder='Named'            ; Named(:param) / Unnamed(?)

Contributing

Issues and feature request are welcome.<br /> Feel free to share them on issues page

Author

  • Ramesh N. Jangid (Sharma)

Github: @polygoncoin

License

Copyright © 2026 Ramesh N. Jangid (Sharma).<br /> This project is MIT licensed.