countapi/app/conf/config.py
philip306 9330d7a103 asuh
2020-07-31 22:36:12 -04:00

11 lines
237 B
Python

from pydantic import BaseSettings
class Settings(BaseSettings):
app_name: str = "CountAPI"
ttlsetting: int = 100000
redishost: str = 'redis'
port: int = 6379
db: int = 0
redispass: str = ""
settings = Settings()