Compare commits
2 Commits
2nodes-pos
...
master
Author | SHA1 | Date | |
---|---|---|---|
b1f05c3fe4 | |||
484a495068 |
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
/.idea/misc.xml
|
||||||
|
/.idea/vcs.xml
|
||||||
|
/.idea/workspace.xml
|
@ -4,34 +4,21 @@ services:
|
|||||||
pull_policy: always
|
pull_policy: always
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
deploy:
|
deploy:
|
||||||
replicas: 2
|
replicas: 3
|
||||||
configs:
|
configs:
|
||||||
- source: app_config
|
- source: app_config
|
||||||
target: /data/application.yaml
|
target: /data/application.yaml
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.http.routers.expertisa-${BRANCH}.rule=HostRegexp(`${BRANCH}\\..+`)"
|
- "traefik.http.routers.expertisa-master.rule=HostRegexp(`master\\..+`)"
|
||||||
- "traefik.http.routers.expertisa-${BRANCH}.tls=true"
|
- "traefik.http.routers.expertisa-master.tls=true"
|
||||||
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.path=/health"
|
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.path=/health"
|
||||||
- "traefik.http.services.expertisa-${BRANCH}.loadbalancer.healthcheck.interval=5s"
|
- "traefik.http.services.expertisa-master.loadbalancer.healthcheck.interval=5s"
|
||||||
|
|
||||||
networks:
|
|
||||||
- expertisa-twonodes-postgresql
|
|
||||||
depends_on:
|
|
||||||
- psql
|
|
||||||
|
|
||||||
psql:
|
|
||||||
image: postgres:latest
|
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: "admin"
|
JAVA_TOOL_OPTIONS: "-XX:MaxRAMPercentage=90"
|
||||||
POSTGRES_PASSWORD: "admin"
|
|
||||||
POSTGRES_DB: "expertisa-metadata"
|
|
||||||
networks:
|
|
||||||
- expertisa-twonodes-postgresql
|
|
||||||
|
|
||||||
networks:
|
network_mode: bridge
|
||||||
expertisa-twonodes-postgresql:
|
|
||||||
external: true
|
|
||||||
|
|
||||||
configs:
|
configs:
|
||||||
app_config:
|
app_config:
|
||||||
@ -39,28 +26,28 @@ configs:
|
|||||||
infinispan:
|
infinispan:
|
||||||
embedded:
|
embedded:
|
||||||
enabled: true
|
enabled: true
|
||||||
cluster-name: eisa-${BRANCH}
|
cluster-name: eisa-master
|
||||||
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: ${BRANCH}
|
branch: master
|
||||||
enabled: true
|
enabled: true
|
||||||
token: ${GIT_TOKEN}
|
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: ZfyTrAp9tsxkvfyyEIbC
|
||||||
# secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
|
secret-key: jurIHMBGQ54HLu0CXwLSDiahhT6JV6qwZTFhqO37
|
||||||
# bucket: master
|
bucket: master
|
||||||
db:
|
db:
|
||||||
common-datasource-name: psql
|
common-datasource-name: meta
|
||||||
jdbc:
|
jdbc:
|
||||||
psql:
|
meta:
|
||||||
url: jdbc:postgresql://psql:5432/expertisa-metadata
|
url: jdbc:postgresql://app.expertdwh.ru:5432/eisa-master
|
||||||
username: admin
|
username: ewh
|
||||||
password: admin
|
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