2020-10-23 16:00:26 +02:00
|
|
|
Role Name
|
|
|
|
=========
|
|
|
|
|
2021-12-17 17:41:02 +01:00
|
|
|
A role that installs ePASMed, a mediator between ePAS and SistemaInformativo ISTI.
|
2020-10-23 16:00:26 +02:00
|
|
|
|
|
|
|
Role Variables
|
|
|
|
--------------
|
|
|
|
|
2020-10-26 15:48:35 +01:00
|
|
|
The most important variables are listed below:
|
|
|
|
|
|
|
|
``` yaml
|
2021-12-20 17:50:07 +01:00
|
|
|
epasmed_docker_stack_name: 'epasmed_prod'
|
2021-12-17 17:41:02 +01:00
|
|
|
epasmed_docker_service_server_name: 'epasmed'
|
|
|
|
epasmed_docker_registry: ''
|
|
|
|
epasmed_docker_server_image: 'giancarlopanichi/epasmed:latest'
|
|
|
|
epasmed_docker_network: 'epasmed_net'
|
|
|
|
epasmed_behind_haproxy: True
|
|
|
|
epasmed_haproxy_public_net: 'haproxy-public'
|
2021-12-20 17:50:07 +01:00
|
|
|
|
2020-10-26 15:48:35 +01:00
|
|
|
# DB
|
|
|
|
# Set to true if postgresql must be a container too
|
2021-12-17 17:41:02 +01:00
|
|
|
epasmed_dockerized_db: False
|
|
|
|
epasmed_pg_version: '12'
|
|
|
|
epasmed_db_image: 'postgres:{{ epasmed_pg_version }}-alpine'
|
2020-10-26 15:48:35 +01:00
|
|
|
# The default hostname is the name of the container service
|
2021-12-17 17:41:02 +01:00
|
|
|
epasmed_db_host: 'postgres'
|
|
|
|
epasmed_db_name: 'epasmed_prod_db'
|
2021-12-20 17:50:07 +01:00
|
|
|
epasmed_db_url: 'jdbc:postgresql://epasmed-postgresql:5432/epasmed'
|
2021-12-17 17:41:02 +01:00
|
|
|
epasmed_db_allowed_hosts:
|
2020-10-26 15:48:35 +01:00
|
|
|
- '127.0.0.1'
|
2021-12-20 17:50:07 +01:00
|
|
|
epasmed_db_user: 'epasmed'
|
2021-12-17 17:41:02 +01:00
|
|
|
#epasmed_db_pwd: 'set it in a vault file'
|
2021-12-20 17:50:07 +01:00
|
|
|
epasmed_db_host_auth_method: 'password' #scram-sha-256, md5, password, trust...
|
|
|
|
epasmed_docker_db_node: 'localhost'
|
2021-12-17 17:41:02 +01:00
|
|
|
epasmed_db_volume: 'epasmed_prod_pg_data'
|
2021-12-20 17:50:07 +01:00
|
|
|
epasmed_db_constraints: '[node.labels.epasmed_pg_data==epasmed_db]'
|
|
|
|
epasmed_pg_data_volume: '~/volumes/jhipster/epasmed/postgresql/'
|
|
|
|
epasmed_pg_backups_volume: '~/volumes/jhipster/epasmed/postgresql/'
|
|
|
|
|
2020-10-26 15:48:35 +01:00
|
|
|
# Environment
|
2021-12-20 17:50:07 +01:00
|
|
|
epasmed_server_hostname: 'epasmed.isti.cnr.it'
|
|
|
|
epasmed_spring_profile_active: 'prod,swagger'
|
|
|
|
|
|
|
|
# Mail
|
|
|
|
epasmed_spring_mail_host: 'localhost'
|
|
|
|
epasmed_spring_mail_port: '25'
|
|
|
|
epasmed_spring_mail_username: ''
|
|
|
|
epasmed_spring_mail_password: ''
|
|
|
|
|
|
|
|
# Metrics
|
|
|
|
epasmed_management_metrics_export_prometheus_enabled: 'true'
|
2021-12-17 17:41:02 +01:00
|
|
|
|
2021-12-20 17:50:07 +01:00
|
|
|
# Jhipster
|
|
|
|
epasmed_jhipster_sleep: '30'
|
|
|
|
#epasmed_jhipster_security_rememberme_key: 'set it in a vault file'
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
epasmed_logging_level: 'DEBUG'
|
|
|
|
|
|
|
|
# Application
|
|
|
|
epasmed_application_datasourceepasmed_liquibase_contexts: 'prod, faker'
|
|
|
|
epasmed_application_datasourceepasmed_liquibase_changelog: 'classpath:config/liquibase/epasmed/master.xml'
|
|
|
|
epasmed_application_datasourceepasmed_liquibase_enabled: 'true'
|
|
|
|
epasmed_application_datasourcesistemainformativo_datasource_url: 'jdbc:postgresql://sistemainformativo-dev.isti.cnr.it:5432/sistemainformativo'
|
|
|
|
epasmed_application_datasourcesistemainformativo_datasource_username: 'epasmed'
|
|
|
|
epasmed_application_datasourcesistemainformativo_datasource_password: ''
|
|
|
|
epasmed_application_datasourceepasrest_resturl: 'https://epas.isti.cnr.it/rest'
|
|
|
|
epasmed_application_datasourceepasrest_restusername1: 'isti_registry_manager'
|
|
|
|
epasmed_application_datasourceepasrest_restpassword1: ''
|
|
|
|
epasmed_application_datasourceepasrest_restusername2: 'isti_person_day_reader'
|
|
|
|
epasmed_application_datasourceepasrest_restpassword2: ''
|
|
|
|
epasmed_application_datasourceepasrest_restusername3: 'userISTI'
|
|
|
|
epasmed_application_datasourceepasrest_restpassword3: ''
|
|
|
|
|
|
|
|
```
|
2020-10-23 16:00:26 +02:00
|
|
|
|
|
|
|
Dependencies
|
|
|
|
------------
|
|
|
|
|
2020-10-26 15:48:35 +01:00
|
|
|
A docker swarm cluster is required
|
2020-10-23 16:00:26 +02:00
|
|
|
|
|
|
|
License
|
|
|
|
-------
|
|
|
|
|
|
|
|
EUPL-1.2
|
|
|
|
|
|
|
|
Author Information
|
|
|
|
------------------
|
|
|
|
|
2022-05-05 17:54:01 +02:00
|
|
|
Giancarlo Panichi <giancarlo.panichi@isti.cnr.it> ,
|
|
|
|
Andrea Dell'Amico <andrea.dellamico@isti.cnr.it>
|