Skip to content

Instantly share code, notes, and snippets.

@maxmilian
Created December 5, 2018 04:11
Show Gist options
  • Select an option

  • Save maxmilian/613c7249402e29888fe788e2d29d7f53 to your computer and use it in GitHub Desktop.

Select an option

Save maxmilian/613c7249402e29888fe788e2d29d7f53 to your computer and use it in GitHub Desktop.

環境

在 tomcat 的 bin 目錄加入 setenv.sh,指定執行的 active profile

CATALINA_OPTS="-Dspring.profiles.active=production $CATALINA_OPTS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment