-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build($Configuration): update each environment configuration
application-*.yml is corresponding with network configuration with docker-compose BREAKING CHANGE: application-*.yml is corresponding with network configuration with docker-compose
- Loading branch information
1 parent
5db8c28
commit 72b6c97
Showing
22 changed files
with
409 additions
and
162 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,68 @@ | ||
eureka: | ||
instance: | ||
leaseRenewalIntervalInSeconds: 10 | ||
health-check-url-path: /actuator/health | ||
metadata-map: | ||
# needed to trigger info and endpoint update after restart | ||
startup: ${random.int} | ||
client: | ||
registryFetchIntervalSeconds: 5 | ||
serviceUrl: | ||
defaultZone: http://localhost:8760/eureka/ | ||
defaultZone: http://172.16.4.20:8760/eureka/ | ||
|
||
spring: | ||
zipkin: | ||
base-url: http://localhost:9411 | ||
base-url: http://172.16.4.13:9411 | ||
datasource: | ||
name: muscle_and_fitness | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
url: jdbc:mysql://172.16.4.10:3306/muscle_and_fitness?useSSL=true&useUnicode=true | ||
username: root | ||
password: jm@mysql | ||
redis: | ||
database: 0 | ||
host: 172.16.4.11 | ||
port: 6379 | ||
password: 123456 | ||
timeout: 10000ms | ||
lettuce: | ||
pool: | ||
max-active: 20 | ||
max-idle: 10 | ||
max-wait: -1ms | ||
min-idle: 0 | ||
|
||
logging: | ||
# Configure logging level for SFTP/JSCH | ||
level: | ||
com.jcraft.jsch: INFO | ||
|
||
custom: | ||
configuration: | ||
super-user: "admin" | ||
# Make `web-security-disabled` equal to true to disable web security. We suggest you do not turn off web security | ||
# feature unless development environment. | ||
web-security-disabled: false | ||
# Disable web request information log | ||
web-request-log-disabled: false | ||
ignored-request: | ||
post: | ||
- "/authentication/**" | ||
get: | ||
- "/auth/check-username-uniqueness" | ||
- "/auth/check-email-uniqueness" | ||
- "/auth/validate-username/**" | ||
- "/user/get-avatar" | ||
- "/common/get-jwt" | ||
pattern: | ||
- "/actuator/**" | ||
- "/druid/**" | ||
- "/swagger-resources/**" | ||
- "/v2/api-docs/**" | ||
|
||
sftp: | ||
client: | ||
configuration: | ||
host: 172.16.4.12 | ||
port: 22 | ||
user: johnny | ||
password: atmoz@sftp | ||
directory: upload | ||
private-key: | ||
private-key-pass-phrase: | ||
session-cache-size: 20 | ||
session-wait-timeout: 15000 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,68 @@ | ||
eureka: | ||
instance: | ||
leaseRenewalIntervalInSeconds: 10 | ||
health-check-url-path: /actuator/health | ||
metadata-map: | ||
# needed to trigger info and endpoint update after restart | ||
startup: ${random.int} | ||
client: | ||
registryFetchIntervalSeconds: 5 | ||
serviceUrl: | ||
defaultZone: http://localhost:8760/eureka/ | ||
defaultZone: http://172.16.3.20:8760/eureka/ | ||
|
||
spring: | ||
zipkin: | ||
base-url: http://localhost:9411 | ||
base-url: http://172.16.3.13:9411 | ||
datasource: | ||
name: muscle_and_fitness | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
url: jdbc:mysql://172.16.4.10:3306/muscle_and_fitness?useSSL=true&useUnicode=true | ||
username: root | ||
password: jm@mysql | ||
redis: | ||
database: 0 | ||
host: 172.16.3.11 | ||
port: 6379 | ||
password: 123456 | ||
timeout: 10000ms | ||
lettuce: | ||
pool: | ||
max-active: 20 | ||
max-idle: 10 | ||
max-wait: -1ms | ||
min-idle: 0 | ||
|
||
logging: | ||
# Configure logging level for SFTP/JSCH | ||
level: | ||
com.jcraft.jsch: INFO | ||
|
||
custom: | ||
configuration: | ||
super-user: "admin" | ||
# Make `web-security-disabled` equal to true to disable web security. We suggest you do not turn off web security | ||
# feature unless development environment. | ||
web-security-disabled: false | ||
# Disable web request information log | ||
web-request-log-disabled: false | ||
ignored-request: | ||
post: | ||
- "/authentication/**" | ||
get: | ||
- "/auth/check-username-uniqueness" | ||
- "/auth/check-email-uniqueness" | ||
- "/auth/validate-username/**" | ||
- "/user/get-avatar" | ||
- "/common/get-jwt" | ||
pattern: | ||
- "/actuator/**" | ||
- "/druid/**" | ||
- "/swagger-resources/**" | ||
- "/v2/api-docs/**" | ||
|
||
sftp: | ||
client: | ||
configuration: | ||
host: 172.16.3.12 | ||
port: 22 | ||
user: johnny | ||
password: atmoz@sftp | ||
directory: upload | ||
private-key: | ||
private-key-pass-phrase: | ||
session-cache-size: 20 | ||
session-wait-timeout: 15000 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,68 @@ | ||
eureka: | ||
instance: | ||
leaseRenewalIntervalInSeconds: 10 | ||
health-check-url-path: /actuator/health | ||
metadata-map: | ||
# needed to trigger info and endpoint update after restart | ||
startup: ${random.int} | ||
client: | ||
registryFetchIntervalSeconds: 5 | ||
serviceUrl: | ||
defaultZone: http://localhost:8760/eureka/ | ||
defaultZone: http://172.16.2.20:8760/eureka/ | ||
|
||
spring: | ||
zipkin: | ||
base-url: http://localhost:9411 | ||
base-url: http://172.16.2.13:9411 | ||
datasource: | ||
name: muscle_and_fitness | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
url: jdbc:mysql://172.16.2.10:3306/muscle_and_fitness?useSSL=true&useUnicode=true | ||
username: root | ||
password: jm@mysql | ||
redis: | ||
database: 0 | ||
host: 172.16.2.11 | ||
port: 6379 | ||
password: 123456 | ||
timeout: 10000ms | ||
lettuce: | ||
pool: | ||
max-active: 20 | ||
max-idle: 10 | ||
max-wait: -1ms | ||
min-idle: 0 | ||
|
||
logging: | ||
# Configure logging level for SFTP/JSCH | ||
level: | ||
com.jcraft.jsch: INFO | ||
|
||
custom: | ||
configuration: | ||
super-user: "admin" | ||
# Make `web-security-disabled` equal to true to disable web security. We suggest you do not turn off web security | ||
# feature unless development environment. | ||
web-security-disabled: false | ||
# Disable web request information log | ||
web-request-log-disabled: false | ||
ignored-request: | ||
post: | ||
- "/authentication/**" | ||
get: | ||
- "/auth/check-username-uniqueness" | ||
- "/auth/check-email-uniqueness" | ||
- "/auth/validate-username/**" | ||
- "/user/get-avatar" | ||
- "/common/get-jwt" | ||
pattern: | ||
- "/actuator/**" | ||
- "/druid/**" | ||
- "/swagger-resources/**" | ||
- "/v2/api-docs/**" | ||
|
||
sftp: | ||
client: | ||
configuration: | ||
host: 172.16.2.12 | ||
port: 22 | ||
user: johnny | ||
password: atmoz@sftp | ||
directory: upload | ||
private-key: | ||
private-key-pass-phrase: | ||
session-cache-size: 20 | ||
session-wait-timeout: 15000 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,45 @@ | ||
eureka: | ||
instance: | ||
leaseRenewalIntervalInSeconds: 10 | ||
health-check-url-path: /actuator/health | ||
metadata-map: | ||
# needed to trigger info and endpoint update after restart | ||
startup: ${random.int} | ||
client: | ||
registryFetchIntervalSeconds: 5 | ||
serviceUrl: | ||
defaultZone: http://localhost:8760/eureka/ | ||
defaultZone: http://172.16.4.20:8760/eureka/ | ||
|
||
spring: | ||
zipkin: | ||
base-url: http://localhost:9411 | ||
base-url: http://172.16.4.13:9411 | ||
datasource: | ||
name: muscle_and_fitness | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
url: jdbc:mysql://172.16.4.10:3306/muscle_and_fitness?useSSL=true&useUnicode=true | ||
username: root | ||
password: jm@mysql | ||
redis: | ||
database: 0 | ||
host: 172.16.4.11 | ||
port: 6379 | ||
password: 123456 | ||
timeout: 10000ms | ||
lettuce: | ||
pool: | ||
max-active: 20 | ||
max-idle: 10 | ||
max-wait: -1ms | ||
min-idle: 0 | ||
|
||
logging: | ||
# Configure logging level for SFTP/JSCH | ||
level: | ||
com.jcraft.jsch: INFO | ||
|
||
sftp: | ||
client: | ||
configuration: | ||
host: 172.16.4.12 | ||
port: 22 | ||
user: johnny | ||
password: atmoz@sftp | ||
directory: upload | ||
private-key: | ||
private-key-pass-phrase: | ||
session-cache-size: 20 | ||
session-wait-timeout: 15000 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,45 @@ | ||
eureka: | ||
instance: | ||
leaseRenewalIntervalInSeconds: 10 | ||
health-check-url-path: /actuator/health | ||
metadata-map: | ||
# needed to trigger info and endpoint update after restart | ||
startup: ${random.int} | ||
client: | ||
registryFetchIntervalSeconds: 5 | ||
serviceUrl: | ||
defaultZone: http://localhost:8760/eureka/ | ||
defaultZone: http://172.16.3.20:8760/eureka/ | ||
|
||
spring: | ||
zipkin: | ||
base-url: http://localhost:9411 | ||
base-url: http://172.16.3.13:9411 | ||
datasource: | ||
name: muscle_and_fitness | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
url: jdbc:mysql://172.16.3.10:3306/muscle_and_fitness?useSSL=true&useUnicode=true | ||
username: root | ||
password: jm@mysql | ||
redis: | ||
database: 0 | ||
host: 172.16.3.11 | ||
port: 6379 | ||
password: 123456 | ||
timeout: 10000ms | ||
lettuce: | ||
pool: | ||
max-active: 20 | ||
max-idle: 10 | ||
max-wait: -1ms | ||
min-idle: 0 | ||
|
||
logging: | ||
# Configure logging level for SFTP/JSCH | ||
level: | ||
com.jcraft.jsch: INFO | ||
|
||
sftp: | ||
client: | ||
configuration: | ||
host: 172.16.3.12 | ||
port: 22 | ||
user: johnny | ||
password: atmoz@sftp | ||
directory: upload | ||
private-key: | ||
private-key-pass-phrase: | ||
session-cache-size: 20 | ||
session-wait-timeout: 15000 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,45 @@ | ||
eureka: | ||
instance: | ||
leaseRenewalIntervalInSeconds: 10 | ||
health-check-url-path: /actuator/health | ||
metadata-map: | ||
# needed to trigger info and endpoint update after restart | ||
startup: ${random.int} | ||
client: | ||
registryFetchIntervalSeconds: 5 | ||
serviceUrl: | ||
defaultZone: http://localhost:8760/eureka/ | ||
defaultZone: http://172.16.2.20:8760/eureka/ | ||
|
||
spring: | ||
zipkin: | ||
base-url: http://localhost:9411 | ||
base-url: http://172.16.2.13:9411 | ||
datasource: | ||
name: muscle_and_fitness | ||
driver-class-name: com.mysql.cj.jdbc.Driver | ||
type: com.alibaba.druid.pool.DruidDataSource | ||
url: jdbc:mysql://172.16.2.10:3306/muscle_and_fitness?useSSL=true&useUnicode=true | ||
username: root | ||
password: jm@mysql | ||
redis: | ||
database: 0 | ||
host: 172.16.2.11 | ||
port: 6379 | ||
password: 123456 | ||
timeout: 10000ms | ||
lettuce: | ||
pool: | ||
max-active: 20 | ||
max-idle: 10 | ||
max-wait: -1ms | ||
min-idle: 0 | ||
|
||
logging: | ||
# Configure logging level for SFTP/JSCH | ||
level: | ||
com.jcraft.jsch: INFO | ||
|
||
sftp: | ||
client: | ||
configuration: | ||
host: 172.16.2.12 | ||
port: 22 | ||
user: johnny | ||
password: atmoz@sftp | ||
directory: upload | ||
private-key: | ||
private-key-pass-phrase: | ||
session-cache-size: 20 | ||
session-wait-timeout: 15000 |
Oops, something went wrong.