more flexible configurationing
This commit is contained in:
parent
47d3aace47
commit
3a0c0cf956
@ -3,8 +3,6 @@ server:
|
||||
spring:
|
||||
application:
|
||||
name: jateway
|
||||
profiles:
|
||||
active: dev
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
@ -9,6 +9,7 @@ services:
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
- SPRING_CONFIG_LOCATION=/app/config/application.yaml
|
||||
- SPRING_PROFILES_ACTIVE=default,example
|
||||
- SPRING_CONFIG_ADDITIONAL_LOCATION=/app/config/
|
||||
volumes:
|
||||
- ./config:/app/config
|
||||
|
8
service/src/main/resources/application-example.yaml
Normal file
8
service/src/main/resources/application-example.yaml
Normal file
@ -0,0 +1,8 @@
|
||||
spring:
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
- id: simple_route
|
||||
uri: http://example.com
|
||||
predicates:
|
||||
- Method=GET
|
@ -3,15 +3,6 @@ server:
|
||||
spring:
|
||||
application:
|
||||
name: jateway
|
||||
profiles:
|
||||
active: dev
|
||||
cloud:
|
||||
gateway:
|
||||
routes:
|
||||
- id: simple_route
|
||||
uri: http://example.com
|
||||
predicates:
|
||||
- Method=GET
|
||||
|
||||
management:
|
||||
server:
|
||||
|
10
service/src/main/resources/banner.txt
Normal file
10
service/src/main/resources/banner.txt
Normal file
@ -0,0 +1,10 @@
|
||||
▄▄▄██▀▀▀▄▄▄ ▄▄▄█████▓▓█████ █ █░ ▄▄▄ ▓██ ██▓
|
||||
▒██ ▒████▄ ▓ ██▒ ▓▒▓█ ▀ ▓█░ █ ░█░▒████▄ ▒██ ██▒
|
||||
░██ ▒██ ▀█▄ ▒ ▓██░ ▒░▒███ ▒█░ █ ░█ ▒██ ▀█▄ ▒██ ██░
|
||||
▓██▄██▓ ░██▄▄▄▄██░ ▓██▓ ░ ▒▓█ ▄ ░█░ █ ░█ ░██▄▄▄▄██ ░ ▐██▓░
|
||||
▓███▒ ▓█ ▓██▒ ▒██▒ ░ ░▒████▒░░██▒██▓ ▓█ ▓██▒ ░ ██▒▓░
|
||||
▒▓▒▒░ ▒▒ ▓▒█░ ▒ ░░ ░░ ▒░ ░░ ▓░▒ ▒ ▒▒ ▓▒█░ ██▒▒▒
|
||||
▒ ░▒░ ▒ ▒▒ ░ ░ ░ ░ ░ ▒ ░ ░ ▒ ▒▒ ░▓██ ░▒░
|
||||
░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ▒ ▒ ░░
|
||||
░ ░ ░ ░ ░ ░ ░ ░ ░░ ░
|
||||
░ ░
|
Loading…
x
Reference in New Issue
Block a user