2024-07-02 18:05:49 +00:00
|
|
|
services:
|
|
|
|
eisa:
|
2024-07-02 19:13:05 +00:00
|
|
|
image: git.expertdwh.ru/ewh/expertisa:${BRANCH}
|
2024-07-03 14:10:47 +00:00
|
|
|
pull_policy: always
|
|
|
|
restart: unless-stopped
|
2024-10-04 12:28:28 +00:00
|
|
|
deploy:
|
|
|
|
replicas: 2
|
2024-07-02 18:05:49 +00:00
|
|
|
configs:
|
|
|
|
- source: app_config
|
|
|
|
target: /data/application.yaml
|
2024-10-22 05:26:18 +00:00
|
|
|
- source: hikari
|
|
|
|
target: /data/hikari.properties
|
2024-10-30 13:04:54 +00:00
|
|
|
entrypoint: ["java", "-Dhikaricp.configurationFile=/data/hikari.properties", "-Djgroups.tunnel.hosts=app-eisa.expertdwh.ru[12001]", "-jar", "/app.war"]
|
2024-07-02 18:05:49 +00:00
|
|
|
|
2024-10-30 07:42:52 +00:00
|
|
|
environment:
|
|
|
|
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
|
|
|
|
2024-07-02 18:05:49 +00:00
|
|
|
labels:
|
2024-07-02 19:13:05 +00:00
|
|
|
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
|
|
|
|
- "traefik.http.routers.expertisa-${BRANCH}.tls=true"
|
2024-10-04 12:28:28 +00:00
|
|
|
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.path=/health"
|
|
|
|
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.interval=5s"
|
2024-07-02 18:05:49 +00:00
|
|
|
|
2024-10-04 12:28:28 +00:00
|
|
|
networks:
|
|
|
|
- expertisa-twonodes-postgresql
|
|
|
|
depends_on:
|
|
|
|
- psql
|
|
|
|
|
|
|
|
psql:
|
2024-10-08 06:32:13 +00:00
|
|
|
container_name: psql-${BRANCH}
|
2024-10-04 12:28:28 +00:00
|
|
|
image: postgres:latest
|
|
|
|
environment:
|
|
|
|
POSTGRES_USER: "admin"
|
|
|
|
POSTGRES_PASSWORD: "admin"
|
|
|
|
POSTGRES_DB: "expertisa-metadata"
|
|
|
|
networks:
|
|
|
|
- expertisa-twonodes-postgresql
|
2024-10-04 13:14:58 +00:00
|
|
|
volumes:
|
2024-10-07 15:11:39 +00:00
|
|
|
- pgdata:/var/lib/postgresql/data
|
2024-10-04 13:14:58 +00:00
|
|
|
|
|
|
|
volumes:
|
2024-10-07 15:11:39 +00:00
|
|
|
pgdata:
|
|
|
|
name: pgdata-${BRANCH}
|
2024-10-04 12:28:28 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
expertisa-twonodes-postgresql:
|
|
|
|
external: true
|
2024-07-02 18:05:49 +00:00
|
|
|
|
|
|
|
configs:
|
|
|
|
app_config:
|
|
|
|
content: |
|
2024-10-04 12:28:28 +00:00
|
|
|
infinispan:
|
|
|
|
embedded:
|
|
|
|
enabled: true
|
|
|
|
cluster-name: eisa-${BRANCH}
|
2024-10-30 12:40:38 +00:00
|
|
|
stack: tunnel
|
2024-11-22 06:47:05 +00:00
|
|
|
spring:
|
|
|
|
mail:
|
|
|
|
host: smtp.gmail.com
|
|
|
|
port: 587
|
|
|
|
username: expertisaewh@gmail.com
|
2024-11-22 07:09:47 +00:00
|
|
|
password: ${NOTIFICATION_PASSWORD}
|
2024-11-22 06:47:05 +00:00
|
|
|
properties:
|
|
|
|
mail:
|
|
|
|
smtp:
|
|
|
|
auth: true
|
|
|
|
starttls:
|
|
|
|
enable: true
|
2024-07-02 18:05:49 +00:00
|
|
|
eisa:
|
|
|
|
force-core-update: true
|
|
|
|
metadata-git:
|
|
|
|
url: https://git.expertdwh.ru/EWH/expert-isa-2-metadata
|
2024-07-03 06:20:14 +00:00
|
|
|
branch: ${BRANCH}
|
2024-07-02 18:05:49 +00:00
|
|
|
enabled: true
|
|
|
|
token: ${GIT_TOKEN}
|
2024-10-07 13:01:08 +00:00
|
|
|
file-store-type: s3
|
|
|
|
s3:
|
|
|
|
endpoint: minio.app.expertdwh.ru
|
|
|
|
port: 9000
|
|
|
|
access-key: ZfyTrAp9tsxkvfyyEIbC
|
|
|
|
secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
|
|
|
|
bucket: dev
|
2024-07-02 18:05:49 +00:00
|
|
|
db:
|
2024-10-04 12:28:28 +00:00
|
|
|
common-datasource-name: psql
|
2024-07-02 18:05:49 +00:00
|
|
|
jdbc:
|
2024-10-04 12:28:28 +00:00
|
|
|
psql:
|
2024-10-28 14:23:54 +00:00
|
|
|
url: jdbc:postgresql://psql-${BRANCH}:5432/expertisa-metadata?reWriteBatchedInserts=true
|
2024-10-04 12:28:28 +00:00
|
|
|
username: admin
|
|
|
|
password: admin
|
2024-07-02 18:05:49 +00:00
|
|
|
EWH:
|
2024-10-28 14:23:54 +00:00
|
|
|
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh?reWriteBatchedInserts=true
|
2024-07-02 18:05:49 +00:00
|
|
|
username: ewh
|
|
|
|
password: ${EWH_PASSWORD}
|
2024-09-27 10:04:05 +00:00
|
|
|
pre-script: core-postgresql.preScript
|
|
|
|
post-script: core-postgresql.postScript
|
2024-07-02 18:05:49 +00:00
|
|
|
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}
|
2024-10-22 05:26:18 +00:00
|
|
|
audit.enabled: true
|
2024-10-30 07:42:52 +00:00
|
|
|
|
2024-10-22 05:26:18 +00:00
|
|
|
hikari:
|
|
|
|
content: |
|
|
|
|
maximumPoolSize=3
|