79 lines
2.4 KiB
YAML
79 lines
2.4 KiB
YAML
services:
|
|
eisa:
|
|
image: git.expertdwh.ru/ewh/expertisa:master
|
|
pull_policy: always
|
|
restart: unless-stopped
|
|
deploy:
|
|
replicas: 3
|
|
configs:
|
|
- source: app_config
|
|
target: /data/application.yaml
|
|
|
|
labels:
|
|
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`master\\..+`)"
|
|
- "traefik.http.routers.expertisa-master.tls=true"
|
|
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/health"
|
|
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
|
|
|
|
environment:
|
|
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
|
|
|
network_mode: bridge
|
|
|
|
configs:
|
|
app_config:
|
|
content: |
|
|
infinispan:
|
|
embedded:
|
|
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:
|
|
url: https://git.expertdwh.ru/EWH/expert-isa-2-metadata
|
|
branch: master
|
|
enabled: true
|
|
token: ${GIT_TOKEN}
|
|
file-store-type: s3
|
|
s3:
|
|
endpoint: minio.app.expertdwh.ru
|
|
port: 9000
|
|
access-key: ZfyTrAp9tsxkvfyyEIbC
|
|
secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
|
|
bucket: master
|
|
db:
|
|
common-datasource-name: meta
|
|
jdbc:
|
|
meta:
|
|
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
|
|
username: ewh
|
|
password: ${EWH_PASSWORD}
|
|
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
|
|
EWH_ORA:
|
|
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
|
username: ewh
|
|
password: ${EWH_PASSWORD}
|
|
DWH_ORA:
|
|
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
|
username: dwh
|
|
password: ${DWH_PASSWORD}
|
|
audit.enabled: true |