Spring
為何選擇 Spring
概覽 微服務 反應式 事件驅動 雲端 網頁應用程式 無伺服器 批次處理
學習
概覽 快速入門 指南 部落格
專案
概覽 Spring Boot Spring Framework Spring Cloud Spring Cloud Data Flow Spring Data Spring Integration Spring Batch Spring Security 檢視所有專案
  • 開發工具
  • Spring Tools 4 Spring Initializr
    學院
    課程 取得認證
    解決方案
    概覽 Spring Runtime Spring 諮詢服務 Spring Academy 企業團隊方案 安全性公告
    社群
    概覽 活動 團隊
    Spring Boot 3.3.0
      • 概覽
      • 文件
      • 社群
      • 系統需求
      • 安裝 Spring Boot
      • 升級 Spring Boot
      • 教學
        • 開發您的第一個 Spring Boot 應用程式
      • 參考
        • 使用 Spring Boot 進行開發
          • 建置系統
          • 程式碼結構
          • 設定類
          • 自動配置
          • Spring Bean 與依賴注入
          • 使用 @SpringBootApplication 註釋
          • 執行您的應用程式
          • 開發者工具
          • 將應用程式打包以供正式環境使用
        • 核心功能
          • SpringApplication
          • 外部化配置
          • 設定檔 (Profiles)
          • 記錄 (Logging)
          • 國際化 (Internationalization)
          • 面向切面程式設計 (Aspect-Oriented Programming)
          • JSON
          • 任務執行與排程 (Task Execution and Scheduling)
          • 開發時期服務 (Development-time services)
          • 建立您自己的自動配置 (Creating Your Own Auto-configuration)
          • Kotlin 支援 (Kotlin Support)
          • SSL
        • Web
          • Servlet 網頁應用程式 (Servlet Web Applications)
          • 反應式網頁應用程式 (Reactive Web Applications)
          • 優雅關機 (Graceful Shutdown)
          • Spring Security
          • Spring Session
          • Spring for GraphQL
          • Spring HATEOAS
        • 資料 (Data)
          • SQL 資料庫 (SQL Databases)
          • 使用 NoSQL 技術 (Working with NoSQL Technologies)
        • 輸入/輸出 (IO)
          • 快取 (Caching)
          • Hazelcast
          • Quartz 排程器 (Quartz Scheduler)
          • 寄送電子郵件 (Sending Email)
          • 驗證 (Validation)
          • 呼叫 REST 服務 (Calling REST Services)
          • Web 服務 (Web Services)
          • 使用 JTA 進行分散式交易 (Distributed Transactions With JTA)
        • 訊息傳遞 (Messaging)
          • JMS
          • AMQP
          • Apache Kafka 支援 (Apache Kafka Support)
          • Apache Pulsar 支援 (Apache Pulsar Support)
          • RSocket
          • Spring Integration
          • WebSockets
        • 測試 (Testing)
          • 測試範圍的依賴關係 (Test Scope Dependencies)
          • 測試 Spring 應用程式 (Testing Spring Applications)
          • 測試 Spring Boot 應用程式 (Testing Spring Boot Applications)
          • Testcontainers
          • 測試工具 (Test Utilities)
        • 容器映像檔 (Container Images)
          • 高效的容器映像檔 (Efficient Container Images)
          • Dockerfiles
          • Cloud Native Buildpacks
        • 可上線功能 (Production-ready Features)
          • 啟用可上線功能 (Enabling Production-ready Features)
          • 端點 (Endpoints)
          • 透過 HTTP 監控和管理 (Monitoring and Management Over HTTP)
          • 透過 JMX 監控和管理 (Monitoring and Management over JMX)
          • 可觀察性 (Observability)
          • 記錄器 (Loggers)
          • 指標 (Metrics)
          • 追蹤 (Tracing)
          • 稽核 (Auditing)
          • 記錄 HTTP 交換 (Recording HTTP Exchanges)
          • 流程監控 (Process Monitoring)
          • Cloud Foundry 支援 (Cloud Foundry Support)
        • 部署 Spring Boot 應用程式 (Deploying Spring Boot Applications)
          • 部署到雲端 (Deploying to the Cloud)
          • 安裝 Spring Boot 應用程式 (Installing Spring Boot Applications)
          • 高效部署 (Efficient Deployments)
        • GraalVM 原生映像檔支援 (GraalVM Native Image Support)
          • GraalVM 原生映像檔簡介 (Introducing GraalVM Native Images)
          • 開發您的第一個 GraalVM 原生應用程式 (Developing Your First GraalVM Native Application)
          • 測試 GraalVM 原生映像檔 (Testing GraalVM Native Images)
          • 進階原生映像檔主題 (Advanced Native Images Topics)
      • 操作指南 (How-to Guides)
        • Spring Boot 應用程式 (Spring Boot Application)
        • 屬性和配置 (Properties and Configuration)
        • 內嵌式 Web 伺服器 (Embedded Web Servers)
        • Spring MVC
        • Jersey
        • HTTP 用戶端 (HTTP Clients)
        • 記錄 (Logging)
        • 資料存取 (Data Access)
        • 資料庫初始化 (Database Initialization)
        • NoSQL
        • 訊息傳遞 (Messaging)
        • 批次應用程式 (Batch Applications)
        • Actuator
        • 安全性 (Security)
        • 熱交換 (Hot Swapping)
        • 測試 (Testing)
        • 建置 (Build)
        • 預先處理 (Ahead-of-time processing)
        • 傳統部署 (Traditional Deployment)
        • Docker Compose
      • 建置工具插件 (Build Tool Plugins)
        • Maven 插件 (Maven Plugin)
          • 開始使用 (Getting Started)
          • 使用插件 (Using the Plugin)
          • 目標 (Goals)
          • 打包可執行封存 (Packaging Executable Archives)
          • 打包 OCI 映像檔 (Packaging OCI Images)
          • 使用 Maven 執行您的應用程式 (Running your Application with Maven)
          • 預先處理 (Ahead-of-Time Processing)
          • 執行整合測試 (Running Integration Tests)
          • 與 Actuator 整合 (Integrating with Actuator)
          • 說明資訊 (Help Information)
        • Gradle 插件 (Gradle Plugin)
          • 開始使用 (Getting Started)
          • 管理依賴關係 (Managing Dependencies)
          • 打包可執行封存 (Packaging Executable Archives)
          • 打包 OCI 映像檔 (Packaging OCI Images)
          • 發佈您的應用程式 (Publishing your Application)
          • 使用 Gradle 執行您的應用程式 (Running your Application with Gradle)
          • 預先處理 (Ahead-of-Time Processing)
          • 與 Actuator 整合 (Integrating with Actuator)
          • 對其他插件做出反應 (Reacting to Other Plugins)
        • Spring Boot AntLib 模組 (Spring Boot AntLib Module)
        • 支援其他建置系統 (Supporting Other Build Systems)
      • Spring Boot CLI
        • 安裝 CLI (Installing the CLI)
        • 使用 CLI (Using the CLI)
      • REST API (Rest APIs)
        • Actuator
          • 稽核事件 (auditevents)
          • Beans (beans)
          • 快取 (caches)
          • 條件評估報告 (conditions)
          • 配置屬性 (configprops)
          • 環境 (env)
          • Flyway (flyway)
          • 健康狀況 (health)
          • 堆積傾印 (heapdump)
          • HTTP 交換 (httpexchanges)
          • 資訊 (info)
          • Spring Integration 圖表 (integrationgraph)
          • Liquibase (liquibase)
          • 日誌檔 (logfile)
          • 記錄器 (loggers)
          • 映射 (mappings)
          • 指標 (metrics)
          • Prometheus (prometheus)
          • Quartz (quartz)
          • 軟體物料清單 (sbom)
          • 排程任務 (scheduledtasks)
          • 工作階段 (sessions)
          • 關機 (shutdown)
          • 應用程式啟動 (startup)
          • 執行緒傾印 (threaddump)
      • Java API (Java APIs)
        • Spring Boot
        • Gradle 插件 (Gradle Plugin)
        • Maven 插件 (Maven Plugin)
      • Kotlin API (Kotlin APIs)
        • Spring Boot
      • 規格 (Specifications)
        • 配置中繼資料 (Configuration Metadata)
          • 中繼資料格式 (Metadata Format)
          • 提供手動提示 (Providing Manual Hints)
          • 使用註釋處理器產生您自己的中繼資料
        • 可執行 Jar 格式
          • 巢狀 JAR
          • Spring Boot 的「NestedJarFile」類別
          • 啟動可執行 Jar
          • PropertiesLauncher 的特性
          • 可執行 Jar 的限制
          • 替代的單一 Jar 解決方案
      • 附錄
        • 常見的應用程式屬性
        • 自動配置類別
          • spring-boot-autoconfigure
          • spring-boot-actuator-autoconfigure
        • 測試自動配置註釋
          • 測試切片
        • 依賴版本
          • 受管理的依賴座標
          • 版本屬性
    編輯此頁面 GitHub 專案 Stack Overflow
    • Spring Boot
    • 參考
    • 部署 Spring Boot 應用程式 (Deploying Spring Boot Applications)

    部署 Spring Boot 應用程式 (Deploying Spring Boot Applications)

    Spring Boot 彈性的打包選項在部署應用程式時提供了很大的選擇空間。您可以將 Spring Boot 應用程式部署到各種雲端平台、虛擬/實體機器,或使其在 Unix 系統上完全可執行。

    本節涵蓋一些較常見的部署情境。

    Cloud Foundry 支援 部署到雲端
    • Spring Boot
      • 3.3.1-SNAPSHOT
      • 3.3.0目前版本
    • 相關 Spring 文件
      • Spring Boot
      • Spring Framework
      • Spring Cloud
        • Spring Cloud Build
        • Spring Cloud Bus
        • Spring Cloud Circuit Breaker
        • Spring Cloud Commons
        • Spring Cloud Config
        • Spring Cloud Consul
        • Spring Cloud Contract
        • Spring Cloud Function
        • Spring Cloud Gateway
        • Spring Cloud Kubernetes
        • Spring Cloud Netflix
        • Spring Cloud OpenFeign
        • Spring Cloud Stream
        • Spring Cloud Task
        • Spring Cloud Vault
        • Spring Cloud Zookeeper
      • Spring Data
        • Spring Data Cassandra
        • Spring Data Commons
        • Spring Data Couchbase
        • Spring Data Elasticsearch
        • Spring Data JPA
        • Spring Data KeyValue
        • Spring Data LDAP
        • Spring Data MongoDB
        • Spring Data Neo4j
        • Spring Data Redis
        • Spring Data JDBC 與 R2DBC
        • Spring Data REST
      • Spring Integration
      • Spring Batch
      • Spring Security
        • Spring Authorization Server
        • Spring LDAP
        • Spring Security Kerberos
        • Spring Session
        • Spring Vault
      • Spring AI
      • Spring AMQP
      • Spring CLI
      • Spring GraphQL
      • Spring for Apache Kafka
      • Spring Modulith
      • Spring for Apache Pulsar
      • Spring Shell
    • 所有文件...
    Spring

    版權所有 © 2005 -博通公司(Broadcom)。版權所有。術語「博通」指的是博通公司和/或其子公司。
    使用條款 • 隱私權 • 商標規範 • 感謝 • 您的加州隱私權 • Cookie 設定

    Apache®、Apache Tomcat®、Apache Kafka®、Apache Cassandra™ 以及 Apache Geode™ 是 Apache 軟體基金會在美國及/或其他國家的商標或註冊商標。Java™、Java™ SE、Java™ EE 以及 OpenJDK™ 是 Oracle 及/或其關係企業的商標。Kubernetes® 是 Linux 基金會在美國及其他國家的註冊商標。Linux® 是 Linus Torvalds 在美國及其他國家的註冊商標。Windows® 與 Microsoft® Azure 是 Microsoft 公司的註冊商標。「AWS」和「Amazon Web Services」是 Amazon.com Inc. 或其關係企業的商標或註冊商標。所有其他商標和著作權均為其各自所有者的財產,僅供參考之用。其他名稱可能是其各自所有者的商標。

    搜尋所有 Spring 文件