#------------------------ # ---- 公共配置 start ---- #------------------------ # 服务 server: port: 8282 host: localhost node_id: 1 log_path: tmp/picgo.log environment: dev static_path: static upload_path: static/pic upload_max_size: 3 sessions_key: afE+7AztxjvTc5MmQ/8RuQw1aabgOLMlAKGMKLseRkc= session_name: picgo # redis redis: addr: "localhost:6379" password: Develop_123 db: 3 pool_size: 10 minidle_conns: 5 # 数据库 mysql: mysql_dns: "root:Mysql_123@tcp(localhost:3306)/picgo?charset=utf8mb4&parseTime=True&loc=Local" max_idle_conns: 10 max_open_conns: 100 #---------------------- # ---- 公共配置 end ---- #---------------------- #------------------------------- # ---- 管理后台相关配置 start ---- #------------------------------- # 验证码 captcha: # 过期时间(s) expire: 305000 width: 96 hight: 32 length: 4 # 鉴权 #jwt: # signing_key: eyjhbgcioijiuzi1niisinr5cci6ikpxvcj9 # expires_time: 7d # issuer: cnnm # aes_key: 23624e296707b1eb20311c29969bc46e # aes_iv: 29ca233cd1f42147 #----------------------------- # ---- 管理后台相关配置 end ---- #-----------------------------