diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3cf589e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,60 @@ +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 + 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" + + network_mode: bridge + +configs: + app_config: + content: | + infinispan: + embedded: + cluster-name: master + eisa: + force-core-update: true + metadata-git: + url: https://git.expertdwh.ru/EWH/expert-isa-2-metadata + branch: master + 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 + password: ${EWH_PASSWORD} + 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} + management: + endpoints: + web: + exposure: + include: '*' + jmx: + exposure: + include: '*' + audit.enabled: true \ No newline at end of file