https://github.com/abhimanyuhk/spring-boot-profile-config
https://github.com/abhimanyuhk/spring-boot-profile-config
java java-8 spring-boot
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/abhimanyuhk/spring-boot-profile-config
- Owner: AbhimanyuHK
- Created: 2018-04-24T07:08:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-04-24T07:22:48.000Z (about 8 years ago)
- Last Synced: 2025-02-23T19:45:01.040Z (over 1 year ago)
- Topics: java, java-8, spring-boot
- Language: Java
- Size: 13.3 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring-Boot-Profile-config
### $ mvn clean install
or
### $ mvn clean package
### $ java -jar -Dspring.profiles.active=dev target/spring-boot-profile-config-0.0.1-SNAPSHOT.jar
resourceUrl: http://dev.java.com
resourcePort: [8080]
resourceCount: 2
### $ java -jar -Dspring.profiles.active=prod target/spring-boot-profile-config-0.0.1-SNAPSHOT.jar
resourceUrl: http://prod.java.com
resourcePort: [80, 443]
resourceCount: 2
### $ java -jar -Dspring.profiles.active=qa target/spring-boot-profile-config-0.0.1-SNAPSHOT.jar
resourceUrl: http://qa.java.com
resourcePort: [80, 443, 7]
resourceCount: 3