added docker compose
This commit is contained in:
parent
a3813e2851
commit
76aba32d64
14 changed files with 280 additions and 65 deletions
5
config/crypto-gateway.env
Normal file
5
config/crypto-gateway.env
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
JCSP_KEYSTORE_ALIAS=aef8d0e0-bcaa-4e07-8bbe-4953c6eea458
|
||||
JCSP_KEYSTORE_PASS=1234567890
|
||||
|
||||
SF_OFFLINE_CRL_ENABLED=false
|
||||
CRYPTO_OFFLINE_CRL_ENABLED=false
|
||||
25
config/ervu-extract-from-registry-provider.env
Normal file
25
config/ervu-extract-from-registry-provider.env
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
PG_HOST=10.10.31.119
|
||||
PG_PORT=5432
|
||||
PG_DATABASE=ervu_extract_from_registry_provider
|
||||
PG_USER=ervu_extract_from_registry_provider
|
||||
PG_PASSWORD=ervu_extract_from_registry_provider
|
||||
|
||||
KAFKA_HOSTS=local-kafka:9094
|
||||
KAFKA_AUTH_SASL_MODULE=org.apache.kafka.common.security.plain.PlainLoginModule
|
||||
KAFKA_AUTH_SEC_PROTO=PLAINTEXT
|
||||
KAFKA_AUTH_SASL_MECH=PLAIN
|
||||
KAFKA_USER=user2
|
||||
KAFKA_PASS=Blfi9d2OFG
|
||||
|
||||
EXTERNAL_KAFKA_HOSTS=local-kafka:9094
|
||||
EXTERNAL_KAFKA_AUTH_SASL_MODULE=org.apache.kafka.common.security.plain.PlainLoginModule
|
||||
EXTERNAL_KAFKA_AUTH_SEC_PROTO=PLAINTEXT
|
||||
EXTERNAL_KAFKA_AUTH_SASL_MECH=PLAIN
|
||||
EXTERNAL_KAFKA_USER=user2
|
||||
EXTERNAL_KAFKA_PASS=Blfi9d2OFG
|
||||
|
||||
AWS_ENDPOINT=http://ervu-minio.k8s.micord.ru:31900
|
||||
AWS_ACCESS_KEY_ID=rlTdTvkmSXu9FsLhfecw
|
||||
AWS_SECRET_ACCESS_KEY=NUmY0wwRIEyAd98GCKd1cOgJWvLQYAcMMul5Ulu0
|
||||
|
||||
CRYPTO_GATEWAY_URL=http://crypto-gateway:8080
|
||||
23
config/ervu-person-registry.env
Normal file
23
config/ervu-person-registry.env
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
PG_HOST=10.10.31.119
|
||||
PG_PORT=5432
|
||||
PG_DATABASE=ervu_person_registry_local
|
||||
PG_USER=ervu_person_registry
|
||||
PG_PASSWORD=ervu_person_registry
|
||||
|
||||
KAFKA_HOSTS=local-kafka:9094
|
||||
KAFKA_AUTH_SASL_MODULE=org.apache.kafka.common.security.plain.PlainLoginModule
|
||||
KAFKA_AUTH_SEC_PROTO=PLAINTEXT
|
||||
KAFKA_AUTH_SASL_MECH=PLAIN
|
||||
KAFKA_USER=user2
|
||||
KAFKA_PASS=Blfi9d2OFG
|
||||
|
||||
EXTERNAL_KAFKA_HOSTS=local-kafka:9094
|
||||
EXTERNAL_KAFKA_AUTH_SASL_MODULE=org.apache.kafka.common.security.plain.PlainLoginModule
|
||||
EXTERNAL_KAFKA_AUTH_SEC_PROTO=PLAINTEXT
|
||||
EXTERNAL_KAFKA_AUTH_SASL_MECH=PLAIN
|
||||
EXTERNAL_KAFKA_USER=user2
|
||||
EXTERNAL_KAFKA_PASS=Blfi9d2OFG
|
||||
|
||||
AWS_ENDPOINT=http://ervu-minio.k8s.micord.ru:31900
|
||||
AWS_ACCESS_KEY_ID=rlTdTvkmSXu9FsLhfecw
|
||||
AWS_SECRET_ACCESS_KEY=NUmY0wwRIEyAd98GCKd1cOgJWvLQYAcMMul5Ulu0
|
||||
19
config/ervu-rp-summons-service.env
Normal file
19
config/ervu-rp-summons-service.env
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
PGHOST=10.10.31.119
|
||||
PGPORT=5432
|
||||
PGDATABASE=ervu_rp_summons_service
|
||||
PGUSER=ervu_rp_summons_service
|
||||
PGPASSWORD=ervu_rp_summons_service
|
||||
|
||||
KAFKA_HOSTS=local-kafka:9094
|
||||
KAFKA_AUTH_SASL_MODULE=org.apache.kafka.common.security.plain.PlainLoginModule
|
||||
KAFKA_AUTH_SEC_PROTO=PLAINTEXT
|
||||
KAFKA_AUTH_SASL_MECH=PLAIN
|
||||
KAFKA_USER=user2
|
||||
KAFKA_PASS=Blfi9d2OFG
|
||||
|
||||
EXTERNAL_KAFKA_HOSTS=local-kafka:9094
|
||||
EXTERNAL_KAFKA_AUTH_SASL_MODULE=org.apache.kafka.common.security.plain.PlainLoginModule
|
||||
EXTERNAL_KAFKA_AUTH_SEC_PROTO=PLAINTEXT
|
||||
EXTERNAL_KAFKA_AUTH_SASL_MECH=PLAIN
|
||||
EXTERNAL_KAFKA_USER=user2
|
||||
EXTERNAL_KAFKA_PASS=Blfi9d2OFG
|
||||
2
config/kafdrop.env
Normal file
2
config/kafdrop.env
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
KAFKA_BROKERCONNECT=local-kafka:9094
|
||||
KAFKA_PROPERTIES=c2VjdXJpdHkucHJvdG9jb2w9UExBSU5URVhUDQpzYXNsLm1lY2hhbmlzbT1QTEFJTg0Kc2FzbC5qYWFzLmNvbmZpZz1vcmcuYXBhY2hlLmthZmthLmNvbW1vbi5zZWN1cml0eS5wbGFpbi5QbGFpbkxvZ2luTW9kdWxlIHJlcXVpcmVkIHVzZXJuYW1lPSd1c2VyMicgcGFzc3dvcmQ9J0JsZmk5ZDJPRkcnOw==
|
||||
23
config/kafka.env
Normal file
23
config/kafka.env
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
KAFKA_CFG_NODE_ID=0
|
||||
KAFKA_CFG_PROCESS_ROLES=controller,broker
|
||||
KAFKA_CFG_LISTENERS=CLIENT://:9092,INTERNAL://:9094,CONTROLLER://:9093
|
||||
KAFKA_CFG_ADVERTISED_LISTENERS=CLIENT://local-kafka:9092,INTERNAL://local-kafka:9094,CONTROLLER://localhost:9093
|
||||
KAFKA_CFG_LISTENER_SECURITY_PROTOCOL_MAP=CLIENT:SASL_PLAINTEXT,INTERNAL:PLAINTEXT,CONTROLLER:SASL_PLAINTEXT,
|
||||
KAFKA_CFG_CONTROLLER_QUORUM_VOTERS=0@local-kafka:9093
|
||||
KAFKA_KRAFT_BOOTSTRAP_SCRAM_USERS=true
|
||||
|
||||
# Controller
|
||||
KAFKA_CFG_CONTROLLER_LISTENER_NAMES=CONTROLLER
|
||||
#KAFKA_CONTROLLER_USER=controller_user
|
||||
#KAFKA_CONTROLLER_PASSWORD=Blfi9d2OFG
|
||||
KAFKA_CFG_SASL_MECHANISM_CONTROLLER_PROTOCOL=PLAIN
|
||||
|
||||
# Client CLIENT
|
||||
KAFKA_CLIENT_USERS=user2
|
||||
KAFKA_CLIENT_PASSWORDS=Blfi9d2OFG
|
||||
KAFKA_CLIENT_LISTENER_NAME=CLIENT
|
||||
KAFKA_CFG_SASL_JAAS_CONFIG=org.apache.kafka.common.security.scram.ScramLoginModule required username="user2" password="Blfi9d2OFG";
|
||||
|
||||
# Client internal
|
||||
KAFKA_INTER_BROKER_LISTENER_NAME=INTERNAL
|
||||
KAFKA_CFG_SASL_MECHANISM_INTER_BROKER_PROTOCOL=PLAIN
|
||||
3
config/kafka.properties
Normal file
3
config/kafka.properties
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
security.protocol=PLAINTEXT
|
||||
sasl.mechanism=PLAIN
|
||||
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username='user2' password='Blfi9d2OFG';
|
||||
38
config/local.env
Normal file
38
config/local.env
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
TZ=Europe/Moscow
|
||||
|
||||
# App datasource
|
||||
DB_APP_USERNAME=ervu_lkrp_fl
|
||||
DB_APP_PASSWORD=ervu_lkrp_fl
|
||||
DB_APP_HOST=10.10.31.119
|
||||
DB_APP_PORT=5432
|
||||
DB_APP_NAME=ervu_lkrp_fl
|
||||
|
||||
ESIA_SCOPES=snils, fullname, birthdate, id_doc
|
||||
ESIA_BASE_URI=https://esia-portal1.test.gosuslugi.ru/
|
||||
ESIA_ISSUER_URL=http://esia-portal1.test.gosuslugi.ru/
|
||||
ESIA_CLIENT_ID=MNSV93
|
||||
ESIA_CLIENT_CERT_HASH=CF35A98C48E48665EA73530537BAFBB51F911C434ADC89215C2F86DCD04E28C5
|
||||
ESIA_REDIRECT_URL=http://localhost:8080/
|
||||
|
||||
SIGN_URL=https://ervu-sign-dev.k8s.micord.ru/sign
|
||||
SIGN_VERIFY_URL=https://ervu-sign-dev.k8s.micord.ru/verify
|
||||
|
||||
ERVU_KAFKA_BOOTSTRAP_SERVERS=local-kafka:9094
|
||||
ERVU_KAFKA_USERNAME=user2
|
||||
ERVU_KAFKA_PASSWORD=Blfi9d2OFG
|
||||
ERVU_KAFKA_SASL_MECHANISM=PLAIN
|
||||
ERVU_KAFKA_SECURITY_PROTOCOL=PLAINTEXT
|
||||
ERVU_KAFKA_GROUP_ID=ervu-lkrp-fl-new
|
||||
ERVU_KAFKA_REPLY_TOPIC=ervu.lkpr.person.search.response
|
||||
ERVU_KAFKA_REQUEST_TOPIC=ervu.lkpr.person.search.request
|
||||
ERVU_KAFKA_REPLY_TIMEOUT=5
|
||||
ERVU_KAFKA_RECRUIT_REQUEST_TOPIC=ervu.recruit.info.request
|
||||
ERVU_KAFKA_RECRUIT_REPLY_TOPIC=ervu.recruit.info.response
|
||||
ERVU_KAFKA_RECRUIT_HEADER_CLASS=Request@urn://rostelekom.ru/RP-SummonsTR/1.0.5
|
||||
ERVU_KAFKA_REGISTRY_EXTRACT_REQUEST_TOPIC=ervu.extract.info.request
|
||||
ERVU_KAFKA_REGISTRY_EXTRACT_REPLY_TOPIC=ervu.extract.info.response
|
||||
ERVU_KAFKA_EXTRACT_HEADER_CLASS=request@urn://rostelekom.ru/ERVU-extractFromRegistryTR/1.0.3
|
||||
ERVU_KAFKA_DOC_LOGIN_MODULE=org.apache.kafka.common.security.plain.PlainLoginModule
|
||||
|
||||
ESIA_TOKEN_CLEAR_CRON=0 0 */1 * * *
|
||||
COOKIE_PATH=/fl
|
||||
15
config/printer.env
Normal file
15
config/printer.env
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
MICRONAUT_ENVIRONMENTS=local
|
||||
MICRONAUT_SERVER_PORT=8080
|
||||
MICRONAUT_SECURITY_ENABLED=false
|
||||
KAFKA_BOOTSTRAP_SERVERS=local-kafka:9094
|
||||
KAFKA_SASL_MECHANISM=PLAIN
|
||||
KAFKA_SASL_JAAS_CONFIG=''
|
||||
KAKFA_SECURITY_PROTOCOL=PLAINTEXT
|
||||
S3_CLIENTS_DEFAULT_ENDPOINT=http://ervu-minio.k8s.micord.ru:31900
|
||||
S3_CLIENTS_DEFAULT_ACCESS_KEY=rlTdTvkmSXu9FsLhfecw
|
||||
S3_CLIENTS_DEFAULT_SECRET_KEY=NUmY0wwRIEyAd98GCKd1cOgJWvLQYAcMMul5Ulu0
|
||||
S3_CLIENTS_DEFAULT_BUCKET=printer
|
||||
REDIS_URI=redis://:@redis:6379
|
||||
RTL_MONITORING_HEALTH_INDICATOR_LIBREOFFICE_ENABLED=false
|
||||
TOKEN_MANAGER_ENABLED=false
|
||||
LIBREOFFICE_PORT_NUMBERS=8101,8102,8103,8104,8105,8106,8107,8108
|
||||
|
|
@ -1,39 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<tomcat-users xmlns="http://tomcat.apache.org/xml"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://tomcat.apache.org/xml tomcat-users.xsd"
|
||||
version="1.0">
|
||||
<!--
|
||||
By default, no user is included in the "manager-gui" role required
|
||||
to operate the "/manager/html" web application. If you wish to use this app,
|
||||
you must define such a user - the username and password are arbitrary.
|
||||
|
||||
Built-in Tomcat manager roles:
|
||||
- manager-gui - allows access to the HTML GUI and the status pages
|
||||
- manager-script - allows access to the HTTP API and the status pages
|
||||
- manager-jmx - allows access to the JMX proxy and the status pages
|
||||
- manager-status - allows access to the status pages only
|
||||
|
||||
The users below are wrapped in a comment and are therefore ignored. If you
|
||||
wish to configure one or more of these users for use with the manager web
|
||||
application, do not forget to remove the <!.. ..> that surrounds them. You
|
||||
will also need to set the passwords to something appropriate.
|
||||
-->
|
||||
<user username="admin" password="<must-be-changed>" roles="manager-gui"/>
|
||||
</tomcat-users>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
contributor license agreements. See the NOTICE file distributed with
|
||||
this work for additional information regarding copyright ownership.
|
||||
The ASF licenses this file to You under the Apache License, Version 2.0
|
||||
(the "License"); you may not use this file except in compliance with
|
||||
the License. You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<Context antiResourceLocking="false" privileged="true" >
|
||||
<CookieProcessor className="org.apache.tomcat.util.http.Rfc6265CookieProcessor"
|
||||
sameSiteCookies="strict" />
|
||||
<!--
|
||||
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
|
||||
allow="d+\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />
|
||||
-->
|
||||
<Manager sessionAttributeValueClassNameFilter="java\.lang\.(?:Boolean|Integer|Long|Number|String)|org\.apache\.catalina\.filters\.CsrfPreventionFilter\$LruCache(?:\$1)?|java\.util\.(?:Linked)?HashMap"/>
|
||||
</Context>
|
||||
Loading…
Add table
Add a link
Reference in a new issue