Compare commits
19 Commits
test-repli
...
master
Author | SHA1 | Date | |
---|---|---|---|
b9fc8dfa1a | |||
e8883608f4 | |||
338d951c5f | |||
1832f0ce2d | |||
93a05e8cf2 | |||
2523ef6395 | |||
de8d8d2ef4 | |||
a6db7bc427 | |||
b1f05c3fe4 | |||
484a495068 | |||
a1b33b38ad | |||
d359e0ece2 | |||
8517a39e1a | |||
dfcb3fe362 | |||
49e7b7302c | |||
74482bf77d | |||
2e9e16f95d | |||
9b4f93b4bf | |||
d54753b7e1 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
/.idea/misc.xml
|
||||
/.idea/vcs.xml
|
||||
/.idea/workspace.xml
|
@ -2,9 +2,12 @@ services:
|
||||
eisa:
|
||||
image: git.expertdwh.ru/ewh/expertisa:master
|
||||
pull_policy: always
|
||||
volumes:
|
||||
- /opt/docker/eisa/master:/data
|
||||
- /opt/docker/eisa/master-files:/data/uploaded-files
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
replicas: 3
|
||||
resources:
|
||||
limits:
|
||||
memory: 10G
|
||||
configs:
|
||||
- source: app_config
|
||||
target: /data/application.yaml
|
||||
@ -12,9 +15,12 @@ services:
|
||||
labels:
|
||||
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`master\\..+`)"
|
||||
- "traefik.http.routers.expertisa-master.tls=true"
|
||||
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/actuator/health"
|
||||
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/health/readiness"
|
||||
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
|
||||
|
||||
environment:
|
||||
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
||||
|
||||
network_mode: bridge
|
||||
|
||||
configs:
|
||||
@ -22,7 +28,22 @@ configs:
|
||||
content: |
|
||||
infinispan:
|
||||
embedded:
|
||||
cluster-name: master
|
||||
enabled: true
|
||||
cluster-name: eisa-master
|
||||
spring:
|
||||
mail:
|
||||
host: smtp.yandex.ru
|
||||
port: 465
|
||||
username: expertisaewh@yandex.ru
|
||||
password: ${NOTIFICATION_PASSWORD}
|
||||
properties:
|
||||
mail:
|
||||
transport:
|
||||
protocol: smtps
|
||||
smtp:
|
||||
auth: true
|
||||
ssl:
|
||||
enable: true
|
||||
eisa:
|
||||
force-core-update: true
|
||||
metadata-git:
|
||||
@ -30,31 +51,62 @@ configs:
|
||||
branch: master
|
||||
enabled: true
|
||||
token: ${GIT_TOKEN}
|
||||
file-store-type: s3
|
||||
s3:
|
||||
endpoint: minio.app.expertdwh.ru
|
||||
port: 9000
|
||||
access-key: Q13rej1S6TdtXKb5Fuw5
|
||||
secret-key: ArYgb17ovZZutEgxZnIqNKq1h6DfNt7CN5zeiQXg
|
||||
bucket: master
|
||||
db:
|
||||
common-datasource-name: meta
|
||||
camunda-datasource-name: meta-camunda
|
||||
jdbc:
|
||||
meta:
|
||||
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
|
||||
username: ewh
|
||||
password: ${EWH_PASSWORD}
|
||||
pool:
|
||||
minimum-idle: 1
|
||||
max-pool-size: 10
|
||||
meta-camunda:
|
||||
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
|
||||
username: ewh
|
||||
password: ${EWH_PASSWORD}
|
||||
pool:
|
||||
minimum-idle: 1
|
||||
max-pool-size: 12
|
||||
EWH:
|
||||
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
|
||||
username: ewh
|
||||
password: ${EWH_PASSWORD}
|
||||
pre-script: core-postgresql.preScript
|
||||
post-script: core-postgresql.postScript
|
||||
pool:
|
||||
minimum-idle: 1
|
||||
max-pool-size: 10
|
||||
EWH_ORA:
|
||||
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
||||
username: ewh
|
||||
password: ${EWH_PASSWORD}
|
||||
pre-script: core-oracle.preScript
|
||||
pool:
|
||||
minimum-idle: 1
|
||||
max-pool-size: 10
|
||||
DWH_ORA:
|
||||
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
||||
username: dwh
|
||||
password: ${DWH_PASSWORD}
|
||||
management:
|
||||
endpoints:
|
||||
web:
|
||||
exposure:
|
||||
include: '*'
|
||||
jmx:
|
||||
exposure:
|
||||
include: '*'
|
||||
audit.enabled: true
|
||||
pre-script: core-oracle.preScript
|
||||
pool:
|
||||
minimum-idle: 1
|
||||
max-pool-size: 10
|
||||
MSSQL:
|
||||
url: jdbc:sqlserver://;serverName=app.expertdwh.ru;databaseName=master;encrypt=true;trustServerCertificate=true
|
||||
username: sa
|
||||
password: ${EWH_PASSWORD}
|
||||
audit.enabled: true
|
||||
logging:
|
||||
level:
|
||||
root: debug
|
||||
ru.expertdwh: trace
|
Loading…
x
Reference in New Issue
Block a user