clean the template

This commit is contained in:
2024-07-28 11:36:08 +08:00
parent 510d46b122
commit bd1ed829c7
11 changed files with 23 additions and 180 deletions

View File

@@ -1,24 +1,10 @@
groupId: com.vs
artifactId: volunteer_bank
vsVersion: 1.0.0
projectName: volunteer-bank
projectId: 3fdc654b-feb2-4d4a-be19-e9ca2998b5d6
applicationName: "{{ .projectName }}-server"
branchName: master
clusterName: "{{ .applicationName }}-{{ .branchName }}"
version: 1.0-SNAPSHOT
operator: horsepower
codeRepoProtocol: https
codeRepoDomain: bit.byteawake.com
codeRepoSSHPort: 23123
codeRepoGroup: vs-server-generate
codeRepoApplicationParentPath: "{{ .codeRepoGroup }}/{{ .projectName }}"
dbType: mysql
dbHost: mysql-rw.staging.svc.cluster.local
dbPort: 3306
package: "{{ .groupId }}.{{ .artifactId }}"
packagePath: '{{ .package | replace "." "/" }}'
db_address: "{{ .dbHost }}:{{ .dbPort }}"
db_database: '{{ .projectName | replace "-" "_" }}'
db_username: '{{ .projectName | replace "-" "_" }}_user'
db_password: "{{ randAlphaNum 16 }}"
@@ -30,7 +16,7 @@ elasticsearch_host: "10.0.2.221,10.0.2.222,10.0.2.223"
elasticsearch_port: "9200"
elasticsearch_scheme: "https"
elasticsearch_username: "admin"
elasticsearch_password: "dnZkaNVK"
elasticsearch_password: "ha/KuGfy"
xxljob_address: "https://xxljob.teitui.com/xxl-job-admin"
xxljob_username: "admin"
xxljob_password: "123456"
@@ -39,7 +25,4 @@ redis_address: "redis.byteawake.com:6379"
redis_password: ""
redis_maxTotal: 100
redis_maxIdle: 10
redis_minIdle: 10
git_url: "{{ .codeRepoProtocol }}://{{ .codeRepoDomain }}/{{ .codeRepoApplicationParentPath }}/{{ .applicationName }}"
git_ssh_url: "ssh://git@{{ .codeRepoDomain }}:{{ .codeRepoSSHPort }}/{{ .codeRepoApplicationParentPath }}/{{ .applicationName }}.git"
freeway_url: "https://fwy.teitui.com/clusters/pods/-/{{ .codeRepoGroup }}/{{ .projectName }}/{{ .applicationName }}/{{ .clusterName }}"
redis_minIdle: 10