Created
October 14, 2023 18:45
-
-
Save naeemaei/461e01843d3080b82a119d6f1996142a to your computer and use it in GitHub Desktop.
config file of golang project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server: | |
Port: 5005 | |
RunMode: debug | |
logger: | |
filePath: ../logs/logs.log | |
Encoding: json | |
level: debug | |
cors: | |
allowOrigins: "*" | |
postgres: | |
host: localhost | |
port: 5432 | |
user: postgres | |
password: admin | |
dbName: car_sale_db | |
sslMode: false | |
redis: | |
host: localhost | |
port: 6379 | |
password: password | |
db: 0 | |
minIdleConnections: 100 | |
poolSize: 5000 | |
poolTimeout: 240 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment