We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
apiVersion: v1 kind: ConfigMap metadata: name: davinci-configmap namespace: davinci data: application.yml: | server: protocol: http address: 0.0.0.0 port: 8080 servlet: context-path: / ## jwt is one of the important configuration of the application ## jwt config cannot be null or empty jwtToken: secret: secret timeout: 1800000 algorithm: HS512 ## your datasource config source: initial-size: 1 min-idle: 1 max-wait: 30000 max-active: 10 break-after-acquire-failure: true connection-error-retry-attempts: 1 time-between-eviction-runs-millis: 2000 min-evictable-idle-time-millis: 600000 max-evictable-idle-time-millis: 900000 test-while-idle: true test-on-borrow: false test-on-return: false validation-query: select 1 validation-query-timeout: 10 keep-alive: false filters: stat enable-query-log: false result-limit: 1000000 spring: mvc: async: request-timeout: 30s rest: proxy-host: proxy-port: proxy-ignore: ## davinci datasource config datasource: type: com.alibaba.druid.pool.DruidDataSource url: jdbc:mysql://mysql:3306/davinci?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true&useSSL=false username: root password: root driver-class-name: com.mysql.jdbc.Driver initial-size: 1 min-idle: 1 max-wait: 30000 max-active: 10 break-after-acquire-failure: true connection-error-retry-attempts: 1 time-between-eviction-runs-millis: 2000 min-evictable-idle-time-millis: 600000 max-evictable-idle-time-millis: 900000 test-while-idle: true test-on-borrow: false test-on-return: false validation-query: select 1 validation-query-timeout: 10 keep-alive: false filters: stat ## redis config ## please choose either of the two ways redis: isEnable: false ## standalone config host: 127.0.0.1 port: 6379 ## cluster config # cluster: # nodes: password: database: 0 timeout: 1000 jedis: pool: max-active: 8 max-wait: 1 max-idle: 8 min-idle: 0 ## mail is one of the important configuration of the application ## mail config cannot be null or empty ## some mailboxes need to be set separately password for the SMTP service) mail: host: smtp.163.com port: 465 username: xxxxxx@163.com fromAddress: xxxxxxxx password: xxxxxxxx nickname: davinci properties: smtp: starttls: enable: true required: true auth: true mail: smtp: ssl: enable: false ldap: urls: username: password: base: domainName: # domainName 指 企业邮箱后缀,如企业邮箱为:xxx@example.com,这里值为 '@example.com' security: oauth2: enable: false screenshot: default_browser: CHROME timeout_second: 600 chromedriver_path: $your_chromedriver_path$ remote_webdriver_url: $your_remote_webdriver_url$ data-auth-center: channels: - name: base-url: auth-code: statistic: enable: false # You can use external elasticsearch storage [127.0.0.1:9300] elastic_urls: elastic_user: elastic_index_prefix: # You can also use external mysql storage mysql_url: mysql_username: mysql_password: # You can also use external kafka kafka.bootstrap.servers: kafka.topic: java.security.krb5.conf: java.security.keytab: java.security.principal: encryption: maxEncryptSize: 1024 type: Off # Off is to turn off encryption, to enable encryption, please select AES or RSA --- apiVersion: apps/v1 kind: Deployment metadata: name: davinci namespace: davinci spec: replicas: 1 selector: matchLabels: app: davinci template: metadata: labels: app: davinci spec: containers: - name: davinci image: davinci:v0.3.0-rc env: - name: TZ value: Asia/Shanghai ports: - containerPort: 8080 name: davinci-svc protocol: TCP volumeMounts: - name: davinci-configmap mountPath: /opt/davinci/config/application.yml subPath: application.yml volumes: - name: davinci-configmap configMap: name: davinci-configmap - name: davselenium emptyDir: medium: Memory --- apiVersion: v1 kind: Service metadata: name: davinci-service namespace: davinci spec: type: NodePort ports: - port: 8080 protocol: TCP targetPort: davinci-svc nodePort: 32202 selector: app: davinci
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: