PageSourceSearch

https://surveyking.cn/assets/js/c86767f6.a4a45a72.js

js surveyking.cn collected 2026-10-07 00:04:57 UTC 9,684 bytes, 2 lines download raw bytes

1/*! For license information please see c86767f6.a4a45a72.js.LICENSE.txt */
2"use strict";(self.webpackChunksurveyking_docs=self.webpackChunksurveyking_docs||[]).push([[50282],{49875:(e,n,l)=>{l.r(n),l.d(n,{assets:()=>o,contentTitle:()=>c,default:()=>p,frontMatter:()=>a,metadata:()=>s,toc:()=>t});var i=l(74848),r=l(28453);const a={title:"\u73af\u5883\u914d\u7f6e",description:"SurveyKing Pro \u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u751f\u4ea7\u73af\u5883\u914d\u7f6e\u8be6\u89e3",sidebar_position:1},c="\u73af\u5883\u914d\u7f6e",s={id:"tech/configuration/environment",title:"\u73af\u5883\u914d\u7f6e",description:"SurveyKing Pro \u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u751f\u4ea7\u73af\u5883\u914d\u7f6e\u8be6\u89e3",source:"@site/docs/pro/tech/configuration/environment.md",sourceDirName:"tech/configuration",slug:"/tech/configuration/environment",permalink:"/pro/tech/configuration/environment",draft:!1,unlisted:!1,tags:[],version:"current",lastUpdatedAt:1751597489e3,sidebarPosition:1,frontMatter:{title:"\u73af\u5883\u914d\u7f6e",description:"SurveyKing Pro \u5f00\u53d1\u3001\u6d4b\u8bd5\u3001\u751f\u4ea7\u73af\u5883\u914d\u7f6e\u8be6\u89e3",sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"\u914d\u7f6e\u7d22\u5f15",permalink:"/pro/tech/configuration/"},next:{title:"\u66f4\u65b0\u65e5\u5fd7",permalink:"/pro/changelog"}},o={},t=[{value:"\ud83d\udd27 \u914d\u7f6e\u6587\u4ef6\u7ed3\u6784",id:"-\u914d\u7f6e\u6587\u4ef6\u7ed3\u6784",level:2},{value:"\ud83d\udcdd \u57fa\u7840\u914d\u7f6e (application.yml)",id:"-\u57fa\u7840\u914d\u7f6e-applicationyml",level:2},{value:"1. \u5e94\u7528\u57fa\u7840\u914d\u7f6e",id:"1-\u5e94\u7528\u57fa\u7840\u914d\u7f6e",level:3},{value:"2. \u5e94\u7528\u81ea\u5b9a\u4e49\u914d\u7f6e",id:"2-\u5e94\u7528\u81ea\u5b9a\u4e49\u914d\u7f6e",level:3},{value:"\ud83d\udd27 \u5f00\u53d1\u73af\u5883\u914d\u7f6e (application-dev.yml)",id:"-\u5f00\u53d1\u73af\u5883\u914d\u7f6e-application-devyml",level:2},{value:"\ud83e\uddea \u6d4b\u8bd5\u73af\u5883\u914d\u7f6e (application-test.yml)",id:"-\u6d4b\u8bd5\u73af\u5883\u914d\u7f6e-application-testyml",level:2},{value:"\ud83d\ude80 \u751f\u4ea7\u73af\u5883\u914d\u7f6e (application-prod.yml)",id:"-\u751f\u4ea7\u73af\u5883\u914d\u7f6e-application-prodyml",level:2},{value:"\ud83d\udcca \u76d1\u63a7\u4e0e\u5065\u5eb7\u68c0\u67e5",id:"-\u76d1\u63a7\u4e0e\u5065\u5eb7\u68c0\u67e5",level:2},{value:"1. \u5065\u5eb7\u68c0\u67e5\u914d\u7f6e",id:"1-\u5065\u5eb7\u68c0\u67e5\u914d\u7f6e",level:3},{value:"2. \u76d1\u63a7\u6307\u6807\u914d\u7f6e",id:"2-\u76d1\u63a7\u6307\u6807\u914d\u7f6e",level:3},{value:"\ud83d\udd10 \u5b89\u5168\u914d\u7f6e",id:"-\u5b89\u5168\u914d\u7f6e",level:2},{value:"1. SSL/TLS \u914d\u7f6e",id:"1-ssltls-\u914d\u7f6e",level:3},{value:"2. \u5b89\u5168\u5934\u914d\u7f6e",id:"2-\u5b89\u5168\u5934\u914d\u7f6e",level:3},{value:"\ud83c\udf10 \u96c6\u7fa4\u914d\u7f6e",id:"-\u96c6\u7fa4\u914d\u7f6e",level:2},{value:"1. \u8d1f\u8f7d\u5747\u8861\u914d\u7f6e",id:"1-\u8d1f\u8f7d\u5747\u8861\u914d\u7f6e",level:3},{value:"2. \u5206\u5e03\u5f0f\u914d\u7f6e",id:"2-\u5206\u5e03\u5f0f\u914d\u7f6e",level:3},{value:"\ud83d\udd04 \u73af\u5883\u53d8\u91cf\u914d\u7f6e",id:"-\u73af\u5883\u53d8\u91cf\u914d\u7f6e",level:2},{value:"1. \u73af\u5883\u53d8\u91cf\u5217\u8868",id:"1-\u73af\u5883\u53d8\u91cf\u5217\u8868",level:3},{value:"2. Docker \u73af\u5883\u914d\u7f6e",id:"2-docker-\u73af\u5883\u914d\u7f6e",level:3}];function d(e){const n={code:"code",h1:"h1",h2:"h2",h3:"h3",hr:"hr",p:"p",pre:"pre",...(0,r.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(n.h1,{id:"\u73af\u5883\u914d\u7f6e",children:"\u73af\u5883\u914d\u7f6e"}),"\n",(0,i.jsx)(n.p,{children:"SurveyKing Pro \u652f\u6301\u591a\u73af\u5883\u914d\u7f6e\uff0c\u5305\u62ec\u5f00\u53d1(dev)\u3001\u6d4b\u8bd5(test)\u3001\u751f\u4ea7(prod)\u73af\u5883\uff0c\u901a\u8fc7 Spring Boot Profile \u673a\u5236\u8fdb\u884c\u73af\u5883\u9694\u79bb\u3002"}),"\n",(0,i.jsx)(n.h2,{id:"-\u914d\u7f6e\u6587\u4ef6\u7ed3\u6784",children:"\ud83d\udd27 \u914d\u7f6e\u6587\u4ef6\u7ed3\u6784"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{children:"src/main/resources/\n\u251c\u2500\u2500 application.yml              # \u57fa\u7840\u914d\u7f6e\n\u251c\u2500\u2500 application-dev.yml         # \u5f00\u53d1\u73af\u5883\u914d\u7f6e\n\u251c\u2500\u2500 application-test.yml        # \u6d4b\u8bd5\u73af\u5883\u914d\u7f6e\n\u251c\u2500\u2500 application-prod.yml        # \u751f\u4ea7\u73af\u5883\u914d\u7f6e\n\u251c\u2500\u2500 logback-spring.xml          # \u65e5\u5fd7\u914d\u7f6e\n\u2514\u2500\u2500 bootstrap.yml               # \u542f\u52a8\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u57fa\u7840\u914d\u7f6e-applicationyml",children:"\ud83d\udcdd \u57fa\u7840\u914d\u7f6e (application.yml)"}),"\n",(0,i.jsx)(n.h3,{id:"1-\u5e94\u7528\u57fa\u7840\u914d\u7f6e",children:"1. \u5e94\u7528\u57fa\u7840\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u5e94\u7528\u57fa\u7840\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h3,{id:"2-\u5e94\u7528\u81ea\u5b9a\u4e49\u914d\u7f6e",children:"2. \u5e94\u7528\u81ea\u5b9a\u4e49\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u5e94\u7528\u81ea\u5b9a\u4e49\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u5f00\u53d1\u73af\u5883\u914d\u7f6e-application-devyml",children:"\ud83d\udd27 \u5f00\u53d1\u73af\u5883\u914d\u7f6e (application-dev.yml)"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u5f00\u53d1\u73af\u5883\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u6d4b\u8bd5\u73af\u5883\u914d\u7f6e-application-testyml",children:"\ud83e\uddea \u
26d4b\u8bd5\u73af\u5883\u914d\u7f6e (application-test.yml)"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u6d4b\u8bd5\u73af\u5883\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u751f\u4ea7\u73af\u5883\u914d\u7f6e-application-prodyml",children:"\ud83d\ude80 \u751f\u4ea7\u73af\u5883\u914d\u7f6e (application-prod.yml)"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u751f\u4ea7\u73af\u5883\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u76d1\u63a7\u4e0e\u5065\u5eb7\u68c0\u67e5",children:"\ud83d\udcca \u76d1\u63a7\u4e0e\u5065\u5eb7\u68c0\u67e5"}),"\n",(0,i.jsx)(n.h3,{id:"1-\u5065\u5eb7\u68c0\u67e5\u914d\u7f6e",children:"1. \u5065\u5eb7\u68c0\u67e5\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u5065\u5eb7\u68c0\u67e5\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h3,{id:"2-\u76d1\u63a7\u6307\u6807\u914d\u7f6e",children:"2. \u76d1\u63a7\u6307\u6807\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u76d1\u63a7\u6307\u6807\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u5b89\u5168\u914d\u7f6e",children:"\ud83d\udd10 \u5b89\u5168\u914d\u7f6e"}),"\n",(0,i.jsx)(n.h3,{id:"1-ssltls-\u914d\u7f6e",children:"1. SSL/TLS \u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml"})}),"\n",(0,i.jsx)(n.h3,{id:"2-\u5b89\u5168\u5934\u914d\u7f6e",children:"2. \u5b89\u5168\u5934\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u5b89\u5168\u5934\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u96c6\u7fa4\u914d\u7f6e",children:"\ud83c\udf10 \u96c6\u7fa4\u914d\u7f6e"}),"\n",(0,i.jsx)(n.h3,{id:"1-\u8d1f\u8f7d\u5747\u8861\u914d\u7f6e",children:"1. \u8d1f\u8f7d\u5747\u8861\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u8d1f\u8f7d\u5747\u8861\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h3,{id:"2-\u5206\u5e03\u5f0f\u914d\u7f6e",children:"2. \u5206\u5e03\u5f0f\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-yaml",children:"# \u5206\u5e03\u5f0f\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h2,{id:"-\u73af\u5883\u53d8\u91cf\u914d\u7f6e",children:"\ud83d\udd04 \u73af\u5883\u53d8\u91cf\u914d\u7f6e"}),"\n",(0,i.jsx)(n.h3,{id:"1-\u73af\u5883\u53d8\u91cf\u5217\u8868",children:"1. \u73af\u5883\u53d8\u91cf\u5217\u8868"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"# \u6570\u636e\u5e93\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.h3,{id:"2-docker-\u73af\u5883\u914d\u7f6e",children:"2. Docker \u73af\u5883\u914d\u7f6e"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-dockerfile",children:"# Dockerfile \u73af\u5883\u914d\u7f6e\n"})}),"\n",(0,i.jsx)(n.hr,{})]})}function p(e={}){const{wrapper:n}={...(0,r.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(d,{...e})}):d(e)}},21020:(e,n,l)=>{var i=l(96540),r=Symbol.for("react.element"),a=Symbol.for("react.fragment"),c=Object.prototype.hasOwnProperty,s=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function t(e,n,l){var i,a={},t=null,d=null;for(i in void 0!==l&&(t=""+l),void 0!==n.key&&(t=""+n.key),void 0!==n.ref&&(d=n.ref),n)c.call(n,i)&&!o.hasOwnProperty(i)&&(a[i]=n[i]);if(e&&e.defaultProps)for(i in n=e.defaultProps)void 0===a[i]&&(a[i]=n[i]);return{$$typeof:r,type:e,key:t,ref:d,props:a,_owner:s.current}}n.Fragment=a,n.jsx=t,n.jsxs=t},74848:(e,n,l)=>{e.exports=l(21020)},28453:(e,n,l)=>{l.d(n,{R:()=>c,x:()=>s});var i=l(96540);const r={},a=i.createContext(r);function c(e){const n=i.useContext(a);return i.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function s(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:c(e.components),i.createElement(a.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.