Compare commits
7 Commits
master
...
d7ef3121e1
Author | SHA1 | Date | |
---|---|---|---|
d7ef3121e1 | |||
6e07280e96 | |||
65f66abc78 | |||
ba9b25bf9c | |||
abca60e5d6 | |||
fa5877841c | |||
903a256002 |
@ -1,46 +1,72 @@
|
|||||||
services:
|
services:
|
||||||
eisa:
|
eisa:
|
||||||
image: git.expertdwh.ru/ewh/expertisa:master
|
image: git.expertdwh.ru/ewh/expertisa:${BRANCH}
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
volumes:
|
restart: unless-stopped
|
||||||
- /opt/docker/eisa/master:/data
|
deploy:
|
||||||
- /opt/docker/eisa/master-files:/data/uploaded-files
|
replicas: 2
|
||||||
configs:
|
configs:
|
||||||
- source: app_config
|
- source: app_config
|
||||||
target: /data/application.yaml
|
target: /data/application.yaml
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`master\\..+`)"
|
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
|
||||||
- "traefik.http.routers.expertisa-master.tls=true"
|
- "traefik.http.routers.expertisa-${BRANCH}.tls=true"
|
||||||
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/actuator/health"
|
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.path=/health"
|
||||||
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
|
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.interval=5s"
|
||||||
|
|
||||||
network_mode: bridge
|
networks:
|
||||||
|
- expertisa-twonodes-postgresql
|
||||||
|
depends_on:
|
||||||
|
- psql
|
||||||
|
|
||||||
|
psql:
|
||||||
|
image: postgres:latest
|
||||||
|
environment:
|
||||||
|
POSTGRES_USER: "admin"
|
||||||
|
POSTGRES_PASSWORD: "admin"
|
||||||
|
POSTGRES_DB: "expertisa-metadata"
|
||||||
|
networks:
|
||||||
|
- expertisa-twonodes-postgresql
|
||||||
|
|
||||||
|
networks:
|
||||||
|
expertisa-twonodes-postgresql:
|
||||||
|
external: true
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
app_config:
|
app_config:
|
||||||
content: |
|
content: |
|
||||||
infinispan:
|
infinispan:
|
||||||
embedded:
|
embedded:
|
||||||
cluster-name: master
|
enabled: true
|
||||||
|
cluster-name: eisa-${BRANCH}
|
||||||
eisa:
|
eisa:
|
||||||
force-core-update: true
|
force-core-update: true
|
||||||
metadata-git:
|
metadata-git:
|
||||||
url: https://git.expertdwh.ru/EWH/expert-isa-2-metadata
|
url: https://git.expertdwh.ru/EWH/expert-isa-2-metadata
|
||||||
branch: master
|
branch: ${BRANCH}
|
||||||
enabled: true
|
enabled: true
|
||||||
token: ${GIT_TOKEN}
|
token: ${GIT_TOKEN}
|
||||||
|
#file-store-type: s3
|
||||||
|
#s3:
|
||||||
|
# endpoint: minio.app.expertdwh.ru
|
||||||
|
# port: 9000
|
||||||
|
# access-key: ZfyTrAp9tsxkvfyyEIbC
|
||||||
|
# secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
|
||||||
|
# bucket: master
|
||||||
db:
|
db:
|
||||||
common-datasource-name: meta
|
common-datasource-name: psql
|
||||||
jdbc:
|
jdbc:
|
||||||
meta:
|
psql:
|
||||||
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
|
url: jdbc:postgresql://psql:5432/expertisa-metadata
|
||||||
username: ewh
|
username: admin
|
||||||
password: ${EWH_PASSWORD}
|
password: admin
|
||||||
EWH:
|
EWH:
|
||||||
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
|
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
|
||||||
username: ewh
|
username: ewh
|
||||||
password: ${EWH_PASSWORD}
|
password: ${EWH_PASSWORD}
|
||||||
|
pre-script: core-postgresql.preScript
|
||||||
|
post-script: core-postgresql.postScript
|
||||||
EWH_ORA:
|
EWH_ORA:
|
||||||
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
url: jdbc:oracle:thin:@oracle.expertdwh.ru:1521:ewh
|
||||||
username: ewh
|
username: ewh
|
||||||
@ -49,12 +75,4 @@ configs:
|
|||||||
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}
|
||||||
management:
|
|
||||||
endpoints:
|
|
||||||
web:
|
|
||||||
exposure:
|
|
||||||
include: '*'
|
|
||||||
jmx:
|
|
||||||
exposure:
|
|
||||||
include: '*'
|
|
||||||
audit.enabled: true
|
audit.enabled: true
|
Reference in New Issue
Block a user