Spring Bootで定義ファイル(yaml)を参照する : 「今回はデフォルトと本番用の2種類の定義ファイルを用意」「「@ConfigurationProperties」アノテーションを付与」「「--spring.profiles.active=production」をjarの起動オプションに指定」
Spring Bootで定義ファイル(yaml)を参照する : 「今回はデフォルトと本番用の2種類の定義ファイルを用意」「「@ConfigurationProperties」アノテーションを付与」「「--spring.profiles.active=production」をjarの起動オプションに指定」