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

78 lines
2.3 KiB
YAML
Raw Normal View History

2024-07-02 18:05:49 +00:00
services:
eisa:
image: git.expertdwh.ru/ewh/expertisa:master
pull_policy: always
2024-07-03 14:10:09 +00:00
restart: unless-stopped
deploy:
2024-10-04 07:53:19 +00:00
replicas: 2
2024-07-02 18:05:49 +00:00
configs:
- source: app_config
target: /data/application.yaml
labels:
2024-10-04 07:53:19 +00:00
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
- "traefik.http.routers.expertisa-${BRANCH}.tls=true"
- "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 07:53:19 +00:00
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
2024-07-02 18:05:49 +00:00
configs:
app_config:
content: |
infinispan:
embedded:
enabled: true
2024-10-04 07:53:19 +00:00
cluster-name: eisa-${BRANCH}
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-10-04 07:53:19 +00:00
branch: ${BRANCH}
2024-07-02 18:05:49 +00:00
enabled: true
token: ${GIT_TOKEN}
2024-10-04 07:53:19 +00:00
#file-store-type: s3
#s3:
# endpoint: minio.app.expertdwh.ru
# port: 9000
# access-key: ZfyTrAp9tsxkvfyyEIbC
# secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
# bucket: master
2024-07-02 18:05:49 +00:00
db:
2024-10-04 07:53:19 +00:00
common-datasource-name: psql
2024-07-02 18:05:49 +00:00
jdbc:
2024-10-04 07:53:19 +00:00
psql:
url: jdbc:postgresql://psql:5432/expertisa-metadata
username: admin
password: admin
2024-07-02 18:05:49 +00:00
EWH:
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
username: ewh
password: ${EWH_PASSWORD}
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}
audit.enabled: true