Files
expert-isa-2-cicd/docker-compose.yml
T

163 lines
4.9 KiB
YAML
Raw Normal View History

2024-07-02 21:05:49 +03:00
services:
eisa:
image: git.expertdwh.ru/ewh/expertisa:master
pull_policy: always
2024-07-03 17:10:09 +03:00
restart: unless-stopped
deploy:
replicas: 3
2025-01-10 16:41:08 +00:00
resources:
limits:
memory: 10G
2024-07-02 21:05:49 +03:00
configs:
- source: app_config
target: /data/application.yaml
2025-06-27 08:26:52 +00:00
volumes:
- /opt/docker/eisa/lib:/data/lib:ro
2024-07-02 21:05:49 +03:00
2025-05-16 11:07:57 +00:00
labels:
2025-09-10 11:50:54 +00:00
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`(?i)^master\\..+`)"
2025-05-16 11:07:57 +00:00
- "traefik.http.routers.expertisa-master.tls=true"
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/health/readiness"
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
2025-05-16 11:14:09 +00:00
- "traefik.http.routers.expertisa-master.service=expertisa-master"
2025-05-16 11:07:57 +00:00
environment:
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=75"
2026-04-23 11:58:17 +00:00
env_file:
- stack.env
2024-07-02 21:05:49 +03:00
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
2024-07-02 21:05:49 +03:00
eisa:
force-core-update: true
metadata-git:
url: https://git.expertdwh.ru/EWH/expert-isa-2-metadata
branch: master
enabled: true
token: ${GIT_TOKEN}
branches:
enabled: true
2026-06-08 08:51:26 +00:00
protect-main-branch-merge: false
2025-07-03 09:16:17 +00:00
personal-tunes-git:
url: https://git.expertdwh.ru/EWH/expert-isa-2-personal-tunes
branch: master
enabled: true
token: ${GIT_TOKEN}
2024-08-07 08:30:47 +00:00
file-store-type: s3
s3:
endpoint: minio.app.expertdwh.ru
port: 9000
2025-01-09 08:56:49 +00:00
access-key: Q13rej1S6TdtXKb5Fuw5
secret-key: ArYgb17ovZZutEgxZnIqNKq1h6DfNt7CN5zeiQXg
2024-08-07 08:30:47 +00:00
bucket: master
2025-12-09 15:29:52 +00:00
file-store:
smb:
name: share
access: all
type: smb
smb:
server: ewh-rd.expertdwh.ru
path: share
username: ewh
password: admin
smb2:
name: share2
access: load
type: smb
smb:
server: ewh-rd.expertdwh.ru
path: share2
username: ewh2
password: admin
2026-02-05 07:33:05 +00:00
smb2-save:
name: share2-save
access: save
type: smb
smb:
server: ewh-rd.expertdwh.ru
path: share2
username: ewh2
password: admin
2024-07-02 21:05:49 +03:00
db:
common-datasource-name: meta
camunda-datasource-name: meta-camunda
2024-07-02 21:05:49 +03:00
jdbc:
meta:
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
username: ewh
password: ${EWH_PASSWORD}
pool:
2025-05-27 14:06:22 +00:00
pool-name: meta
minimum-idle: 1
2025-05-27 14:16:23 +00:00
maximum-pool-size: 50
meta-camunda:
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
username: ewh
password: ${EWH_PASSWORD}
pool:
2025-05-27 14:06:22 +00:00
pool-name: meta-camunda
minimum-idle: 1
2025-05-27 14:16:23 +00:00
maximum-pool-size: 50
2024-07-02 21:05:49 +03:00
EWH:
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
username: ewh
password: ${EWH_PASSWORD}
2024-09-27 13:04:51 +03:00
pre-script: core-postgresql.preScript
post-script: core-postgresql.postScript
pool:
2025-05-27 14:06:22 +00:00
pool-name: ewh
minimum-idle: 1
2025-05-27 14:16:23 +00:00
maximum-pool-size: 50
2024-07-02 21:05:49 +03:00
EWH_ORA:
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
username: ewh
password: ${EWH_PASSWORD}
2025-01-15 14:49:51 +00:00
pre-script: core-oracle.preScript
pool:
2025-05-27 14:06:22 +00:00
pool-name: ewh_ora
minimum-idle: 1
2025-05-27 14:16:23 +00:00
maximum-pool-size: 50
2024-07-02 21:05:49 +03:00
DWH_ORA:
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
username: dwh
password: ${DWH_PASSWORD}
2025-01-15 14:49:51 +00:00
pre-script: core-oracle.preScript
pool:
2025-05-27 14:06:22 +00:00
pool-name: dwh_ora
minimum-idle: 1
2025-05-27 14:16:23 +00:00
maximum-pool-size: 50
2025-02-13 12:26:57 +00:00
MSSQL:
url: jdbc:sqlserver://;serverName=app.expertdwh.ru;databaseName=master;encrypt=true;trustServerCertificate=true
username: sa
password: ${EWH_PASSWORD}
2025-05-27 14:06:22 +00:00
pool:
pool-name: mssql
minimum-idle: 1
2025-05-27 14:16:23 +00:00
maximum-pool-size: 50
2025-03-03 09:42:50 +00:00
audit.enabled: true
2025-05-27 14:22:56 +00:00
# logging:
# level:
2025-05-27 14:22:22 +00:00
# root: debug
# ru.expertdwh: trace