Files
sundynix-pets/pets-be/configs/config.example.yaml
T

34 lines
490 B
YAML

server:
port: 9090
mode: release
postgres:
host: 192.168.100.127
port: 5432
user: root
password: root
database: sundynix-pets
ssl_mode: disable
minio:
endpoint: https://s3.sundynix.cn
access_key: sundynix
secret_key: sundynix
bucket: sundynix-pet
use_ssl: true
jwt:
secret: "" # 用 PETS_JWT_SECRET 注入
expire_hours: 168
wechat:
app_id: ""
app_secret: ""
auth:
dev_login: false
admin:
username: sundynix
password: sundynix