Evn Name | Description |
---|---|
SERVER_NAME | api service name |
GIN_MODE | release |
PORT | service port defalut 20100 |
PG_HOST | postgresql host |
PG_PORT | postgresql port |
PG_USER | postgresql port |
PG_PASSWORD | postgresql password |
PG_DB | postgresql databases |
PG_POOL_MIN | postgresql set maximum number of connections in idle connection pool. |
PG_POOL_MAX | postgresql set maximum number of open connections to the database. |
REDIS_HOST | redis port |
REDIS_PORT | redis port |
REDIS_PWD | redis password |
REDIS_DB | redis databases index |
REDIS_POOL | redis pool |