test docker-compose.yml

This commit is contained in:
Постнов Андрей 2024-07-02 22:13:05 +03:00
parent e12f79b6cf
commit 903a256002

View File

@ -1,19 +1,13 @@
services:
eisa:
image: git.expertdwh.ru/ewh/expertisa:master
pull_policy: always
volumes:
- /opt/docker/eisa/master:/data
- /opt/docker/eisa/master-files:/data/uploaded-files
image: git.expertdwh.ru/ewh/expertisa:${BRANCH}
configs:
- source: app_config
target: /data/application.yaml
labels:
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`master\\..+`)"
- "traefik.http.routers.expertisa-master.tls=true"
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/actuator/health"
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
- "traefik.http.routers.expertisa-${BRANCH}.tls=true"
network_mode: bridge
@ -22,21 +16,16 @@ configs:
content: |
infinispan:
embedded:
cluster-name: master
cluster-name: ${BRANCH}
eisa:
force-core-update: true
metadata-git:
url: https://git.expertdwh.ru/EWH/expert-isa-2-metadata
branch: master
branch: test
enabled: true
token: ${GIT_TOKEN}
db:
common-datasource-name: meta
jdbc:
meta:
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
username: ewh
password: ${EWH_PASSWORD}
EWH:
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
username: ewh