This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tsg-tsg-deploy/api/bifang_init_param.conf
2019-11-20 17:01:33 +08:00

47 lines
2.3 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#! /bin/bash
#--------------mariadb参数------------------#
db_host=192.168.40.204
db_user=root
db_pwd=111111
db_name=tsg_bifang
#非必填值空默认为3306
db_port=3306
#----------------api端口默认为8080-----------------------------------
api_port=8080
#--------------api服务redis连接参数------------------#
api_reids_host=192.168.142.142
api_redis_port=7001
#--------------syn服务redis连接参数------------------#
syn_redis_host=192.168.142.142
syn_redis_port=7002
#--------------minio服务连接参数请手动检查minio桶是否创建完成,并拥有读写权限)------------------#
#----minio_url格式:http://ip:port
minio_url=http://192.168.142.142:9000
minio_accessKey=minio
minio_secretKey=123456789
minio_bucketName=tsg
#-----------------------------------银河api地址-(http://ip:port)----------------------------------------
yh_data_url_log=http://192.168.40.120:9999
#-----------------api服务主访问地址-格式ip:port----------------
api_ip=192.168.142.142:8080
#-------------------nginx备用 ui界面api服务访问地址多机热备模式 格式ip:port---------------------------------
back_api_ip=192.168.40.4:8082
#-------------------------------------以上为必填值----------------------------------------------
#-------------------------------------以下可为空值----------------------------------------------
#----------------------------------------token超时时间(空默认为1800秒)------------------------------------------------
token_timeout=1800
#--------------------------------------consul 地址-------------------------------------------------
consul_ip=192.168.40.210
consul_port=8500
#---------------------------------------LDAP地址格式ldap://ip:port---------------
ldap_urls=ldap://192.168.40.204:389
#---------------------------------时区设置(默认为上海,可为空)----------------------------
time_zone=
#-----------------------------------influxdb地址-----------------------------------------
influx_password=tsg2019
influx_user=admin
#----------influxdb url格式http://ip:port/------------------------------
influx_url=http://192.168.40.210:58086/
influx_database=tsg_stat
#-----------------------------------OAM地址--格式 (http://ip:port/tsgoam)---------------------------------------
oam_api_address=http://192.168.40.210:50080/tsgoam