Last active
          September 5, 2017 17:12 
        
      - 
      
- 
        Save loomismilitia/38c76292e527fbe22c52fbcc8a5c7954 to your computer and use it in GitHub Desktop. 
    Spring Boot common application.properties
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Common application properties | |
| # https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html | |
| # Embedded Server Configuration | |
| server.port = 9000 | |
| # Management HTTP Server | |
| # | |
| # Add the following maven dependency to access the Spring Boot Actuator: Production-ready features | |
| # <dependency> | |
| # <groupId>org.springframework.boot</groupId> | |
| # <artifactId>spring-boot-starter-actuator</artifactId> | |
| # </dependency> | |
| management.port= # Management endpoint HTTP port. Uses the same port as the application by default. Configure a different port to use management-specific SSL. | |
| management.context-path= # Management endpoint context-path. For instance `/actuator` or `/admin` | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Spring Boot command line arguments | |
| # Overrides application properties | |
| # Server HTTP port | |
| java -Dserver.port=6666 -jar sample-1.0-SNAPSHOT.jar | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment