test docker-compose.yml
This commit is contained in:
parent
e12f79b6cf
commit
903a256002
@ -1,19 +1,13 @@
|
|||||||
services:
|
services:
|
||||||
eisa:
|
eisa:
|
||||||
image: git.expertdwh.ru/ewh/expertisa:master
|
image: git.expertdwh.ru/ewh/expertisa:${BRANCH}
|
||||||
pull_policy: always
|
|
||||||
volumes:
|
|
||||||
- /opt/docker/eisa/master:/data
|
|
||||||
- /opt/docker/eisa/master-files:/data/uploaded-files
|
|
||||||
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-master.loadbalancer.healthcheck.interval=5s"
|
|
||||||
|
|
||||||
network_mode: bridge
|
network_mode: bridge
|
||||||
|
|
||||||
@ -22,21 +16,16 @@ configs:
|
|||||||
content: |
|
content: |
|
||||||
infinispan:
|
infinispan:
|
||||||
embedded:
|
embedded:
|
||||||
cluster-name: master
|
cluster-name: ${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: test
|
||||||
enabled: true
|
enabled: true
|
||||||
token: ${GIT_TOKEN}
|
token: ${GIT_TOKEN}
|
||||||
db:
|
db:
|
||||||
common-datasource-name: meta
|
|
||||||
jdbc:
|
jdbc:
|
||||||
meta:
|
|
||||||
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
|
|
||||||
username: ewh
|
|
||||||
password: ${EWH_PASSWORD}
|
|
||||||
EWH:
|
EWH:
|
||||||
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
|
url: jdbc:postgresql://adb-master.expertdwh.ru:5432/ewh
|
||||||
username: ewh
|
username: ewh
|
||||||
|
Loading…
Reference in New Issue
Block a user