Compare commits
25 Commits
11374e6f7a
...
test-repli
Author | SHA1 | Date | |
---|---|---|---|
fbc056c1b6 | |||
d4cbeb0015 | |||
8c6f960252 | |||
fedb64ca9a | |||
cedc1bbc30 | |||
5efca03136 | |||
d0bf1c18e8 | |||
a40e8c0f92 | |||
3234ac4d46 | |||
6c669771c1 | |||
62ea73e916 | |||
ebfc4939fd | |||
21d2420689 | |||
2285f6dbe3 | |||
87b690188b | |||
d7469a88fc | |||
49d5ba0e15 | |||
7cb29baed6 | |||
ff3186c85e | |||
32fc4709db | |||
2a0f35bd79 | |||
7a92e754e5 | |||
9738092f62 | |||
25398c4a16 | |||
3c9ad2398d |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
/.idea/misc.xml
|
||||||
|
/.idea/vcs.xml
|
||||||
|
/.idea/workspace.xml
|
@ -4,21 +4,25 @@ services:
|
|||||||
pull_policy: always
|
pull_policy: always
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: ${REPLICAS:-1}
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: '4.0'
|
||||||
|
memory: 4G
|
||||||
configs:
|
configs:
|
||||||
- source: app_config
|
- source: app_config
|
||||||
target: /data/application.yaml
|
target: /data/application.yaml
|
||||||
- source: hikari
|
- source: hikari
|
||||||
target: /data/hikari.properties
|
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:
|
environment:
|
||||||
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
||||||
|
|
||||||
labels:
|
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.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"
|
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.interval=5s"
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
@ -28,7 +32,8 @@ services:
|
|||||||
|
|
||||||
psql:
|
psql:
|
||||||
container_name: psql-${BRANCH}
|
container_name: psql-${BRANCH}
|
||||||
image: postgres:latest
|
image: postgres:9.4
|
||||||
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: "admin"
|
POSTGRES_USER: "admin"
|
||||||
POSTGRES_PASSWORD: "admin"
|
POSTGRES_PASSWORD: "admin"
|
||||||
@ -51,9 +56,23 @@ configs:
|
|||||||
content: |
|
content: |
|
||||||
infinispan:
|
infinispan:
|
||||||
embedded:
|
embedded:
|
||||||
enabled: true
|
${REPLICAS:+enabled: true}
|
||||||
cluster-name: eisa-${BRANCH}
|
cluster-name: eisa-${BRANCH}
|
||||||
stack: tunnel
|
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:
|
eisa:
|
||||||
force-core-update: true
|
force-core-update: true
|
||||||
metadata-git:
|
metadata-git:
|
||||||
@ -61,20 +80,30 @@ configs:
|
|||||||
branch: ${BRANCH}
|
branch: ${BRANCH}
|
||||||
enabled: true
|
enabled: true
|
||||||
token: ${GIT_TOKEN}
|
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
|
file-store-type: s3
|
||||||
s3:
|
s3:
|
||||||
endpoint: minio.app.expertdwh.ru
|
endpoint: minio.app.expertdwh.ru
|
||||||
port: 9000
|
port: 9000
|
||||||
access-key: ZfyTrAp9tsxkvfyyEIbC
|
access-key: Q13rej1S6TdtXKb5Fuw5
|
||||||
secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
|
secret-key: ArYgb17ovZZutEgxZnIqNKq1h6DfNt7CN5zeiQXg
|
||||||
bucket: dev
|
bucket: dev
|
||||||
db:
|
db:
|
||||||
common-datasource-name: psql
|
common-datasource-name: psql
|
||||||
|
camunda-datasource-name: psql-camunda
|
||||||
jdbc:
|
jdbc:
|
||||||
psql:
|
psql:
|
||||||
url: jdbc:postgresql://psql-${BRANCH}:5432/expertisa-metadata?reWriteBatchedInserts=true
|
url: jdbc:postgresql://psql-${BRANCH}:5432/expertisa-metadata?reWriteBatchedInserts=true
|
||||||
username: admin
|
username: admin
|
||||||
password: admin
|
password: admin
|
||||||
|
psql-camunda:
|
||||||
|
url: jdbc:postgresql://psql-${BRANCH}:5432/expertisa-metadata?reWriteBatchedInserts=true
|
||||||
|
username: admin
|
||||||
|
password: admin
|
||||||
EWH:
|
EWH:
|
||||||
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh?reWriteBatchedInserts=true
|
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh?reWriteBatchedInserts=true
|
||||||
username: ewh
|
username: ewh
|
||||||
@ -85,12 +114,23 @@ configs:
|
|||||||
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
||||||
username: ewh
|
username: ewh
|
||||||
password: ${EWH_PASSWORD}
|
password: ${EWH_PASSWORD}
|
||||||
|
pre-script: core-oracle.preScript
|
||||||
DWH_ORA:
|
DWH_ORA:
|
||||||
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
||||||
username: dwh
|
username: dwh
|
||||||
password: ${DWH_PASSWORD}
|
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
|
audit.enabled: true
|
||||||
|
|
||||||
hikari:
|
hikari:
|
||||||
content: |
|
content: |
|
||||||
maximumPoolSize=3
|
minimumIdle=0
|
||||||
|
maximumPoolSize=12
|
Reference in New Issue
Block a user