25 Commits

Author SHA1 Message Date
fbc056c1b6 изменена версия postgre с latest на 9.4 2025-05-05 05:19:25 +00:00
d4cbeb0015 Обновить docker-compose.yml 2025-04-25 08:21:39 +00:00
8c6f960252 Branch param for personal-tunes-git. 2025-04-02 14:46:51 +03:00
fedb64ca9a New Replicas param. 2025-03-31 23:33:54 +03:00
cedc1bbc30 Обновить docker-compose.yml 2025-03-04 11:58:00 +00:00
5efca03136 Обновить docker-compose.yml 2025-02-27 14:24:10 +00:00
d0bf1c18e8 Обновить docker-compose.yml 2025-02-13 12:26:40 +00:00
a40e8c0f92 Обновить docker-compose.yml 2025-01-31 13:47:28 +00:00
3234ac4d46 Меняем лимиты соединений к БД 2025-01-23 11:55:52 +00:00
6c669771c1 добавлен preScript для oracle 2025-01-14 14:58:51 +00:00
62ea73e916 Ставим лимиты стендам 2025-01-10 16:58:31 +00:00
ebfc4939fd Ставим лимиты стендам 2025-01-10 16:56:28 +00:00
21d2420689 Ставим лимиты стендам 2025-01-10 18:58:51 +03:00
2285f6dbe3 Обновить docker-compose.yml 2025-01-09 08:57:16 +00:00
87b690188b Меняем healthcheck на readiness probe 2025-01-02 11:03:39 +00:00
d7469a88fc Настройки personal-tunes-git 2024-12-18 18:01:08 +03:00
49d5ba0e15 Обновить docker-compose.yml 2024-12-03 17:06:01 +00:00
7cb29baed6 изменены настройки smtp на yandex 2024-11-22 15:58:25 +03:00
ff3186c85e временно убрана настройка smtp 2024-11-22 13:23:54 +03:00
32fc4709db заменён секрет на переменную окружения 2024-11-22 10:09:47 +03:00
2a0f35bd79 добавлена настройка smtp 2024-11-22 09:47:05 +03:00
7a92e754e5 Отключаем debug логи. 2024-11-20 13:09:00 +00:00
9738092f62 Временно включаем Debug логи 2024-11-13 12:55:43 +03:00
25398c4a16 Временно включаем Trace логи 2024-11-13 12:46:47 +03:00
3c9ad2398d Added .gitignore
(cherry picked from commit b1f05c3fe4)
2024-11-13 12:45:29 +03:00
2 changed files with 52 additions and 9 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
/.idea/misc.xml
/.idea/vcs.xml
/.idea/workspace.xml

View File

@ -4,21 +4,25 @@ services:
pull_policy: always
restart: unless-stopped
deploy:
replicas: 2
replicas: ${REPLICAS:-1}
resources:
limits:
cpus: '4.0'
memory: 4G
configs:
- source: app_config
target: /data/application.yaml
- source: hikari
target: /data/hikari.properties
entrypoint: ["java", "-Dhikaricp.configurationFile=/data/hikari.properties", "-Djgroups.tunnel.hosts=app-eisa.expertdwh.ru[12001]", "-jar", "/app.war"]
entrypoint: ["java", "-Dexpertisa.branch=${BRANCH}", "-Dhikaricp.configurationFile=/data/hikari.properties", "-Djgroups.tunnel.hosts=app-eisa.expertdwh.ru[12001]", "-jar", "/app.war"]
environment:
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
labels:
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`(?i)${BRANCH}\\..+`)"
- "traefik.http.routers.expertisa-${BRANCH}.tls=true"
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.path=/health"
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.path=/health/readiness"
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.interval=5s"
networks:
@ -28,7 +32,8 @@ services:
psql:
container_name: psql-${BRANCH}
image: postgres:latest
image: postgres:9.4
restart: unless-stopped
environment:
POSTGRES_USER: "admin"
POSTGRES_PASSWORD: "admin"
@ -51,9 +56,23 @@ configs:
content: |
infinispan:
embedded:
enabled: true
${REPLICAS:+enabled: true}
cluster-name: eisa-${BRANCH}
stack: tunnel
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:
@ -61,20 +80,30 @@ configs:
branch: ${BRANCH}
enabled: true
token: ${GIT_TOKEN}
personal-tunes-git:
url: https://git.expertdwh.ru/EWH/expert-isa-2-personal-tunes
branch: ${BRANCH}
enabled: true
token: ${GIT_TOKEN}
file-store-type: s3
s3:
endpoint: minio.app.expertdwh.ru
port: 9000
access-key: ZfyTrAp9tsxkvfyyEIbC
secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
access-key: Q13rej1S6TdtXKb5Fuw5
secret-key: ArYgb17ovZZutEgxZnIqNKq1h6DfNt7CN5zeiQXg
bucket: dev
db:
common-datasource-name: psql
camunda-datasource-name: psql-camunda
jdbc:
psql:
url: jdbc:postgresql://psql-${BRANCH}:5432/expertisa-metadata?reWriteBatchedInserts=true
username: admin
password: admin
psql-camunda:
url: jdbc:postgresql://psql-${BRANCH}:5432/expertisa-metadata?reWriteBatchedInserts=true
username: admin
password: admin
EWH:
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh?reWriteBatchedInserts=true
username: ewh
@ -85,12 +114,23 @@ configs:
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
username: ewh
password: ${EWH_PASSWORD}
pre-script: core-oracle.preScript
DWH_ORA:
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
username: dwh
password: ${DWH_PASSWORD}
pre-script: core-oracle.preScript
MSSQL:
url: jdbc:sqlserver://;serverName=app.expertdwh.ru;databaseName=master;encrypt=true;trustServerCertificate=true
username: sa
password: ${EWH_PASSWORD}
uwh:
url: jdbc:postgresql://app.expertdwh.ru/uwh?reWriteBatchedInserts=true
username: uwh
password: uwh
audit.enabled: true
hikari:
content: |
maximumPoolSize=3
minimumIdle=0
maximumPoolSize=12