ansible-role-open-asfa/defaults/main.yml

73 lines
2.6 KiB
YAML

---
open_asfa_compose_dir: '/srv/open_asfa_stack'
open_asfa_docker_stack_name: 'open-asfa'
open_asfa_docker_service_server_name: 'asfa-server'
open_asfa_docker_service_client_name: 'asfa-client'
open_asfa_docker_server_image: 'lucabrl01/asfa-server'
open_asfa_docker_client_image: 'lucabrl01/asfa-client'
open_asfa_docker_network: 'open_asfa_net'
# IMPORTANT. Set it to True for the server that is going to host the DB
open_asfa_behind_haproxy: True
open_asfa_haproxy_public_net: 'haproxy-public'
# DB
open_asfa_db_as_container: True
open_asfa_db_pg_version: 12
open_asfa_db_image: 'postgres:{{ open_asfa_db_pg_version }}-alpine'
open_asfa_db_docker_host: 'localhost'
open_asfa_db_host: 'pg'
open_asfa_db_port: 5432
#open_asfa_db_pwd: 'set it in a vault file'
open_asfa_db_name: 'asfadb'
open_asfa_db_user: 'asfadb_user'
open_asfa_db_volume: 'asfa_pg_data'
open_asfa_db_allowed_hosts:
- '127.0.0.1/8'
open_asfa_db_constraints: '[node.labels.asfa_pg_data==asfa_server]'
open_asfa_pgadmin_image: 'dpage/pgadmin4'
open_asfa_pgadmin_data_vol: 'asfa_test_pgadmin_data'
open_asfa_pgadmin_docker_host: '{{ open_asfa_db_docker_host }}'
open_asfa_pgadmin_constraints: '[node.labels.asfa_pgadmin_data==asfa_server]'
open_asfa_pgadmin_email: 'noreply@example.com'
#open_asfa_pgadmin_default_pwd: 'Use a vault'
open_asfa_pgadmin_inactivity_timeout: '1200'
open_asfa_psql_db_data:
- db_host: '{{ open_asfa_db_host }}'
pgsql_version: '{{ open_asfa_db_pg_version }}'
name: '{{ open_asfa_db_name }}'
encoding: 'UTF8'
user: '{{ open_asfa_db_user }}'
roles: 'CREATEDB,NOSUPERUSER'
pwd: '{{ open_asfa_db_pwd }}'
allowed_hosts: '{{ open_asfa_db_allowed_hosts }}'
open_asfa_keylocak_auth_url: http://localhost:8080/auth/
open_asfa_keycloak_client_secret: 'use a vault'
open_asfa_keycloak_realm: 'realm'
open_asfa_keycloak_client_name: 'asfa_client_name'
open_asfa_keycloak_client_id: 'asfa_client_id'
open_asfa_couchbase_volume: couchbase_data
open_asfa_couchbase_image: 'couchbase:community'
open_asfa_couchbase_volume_type: 'local'
open_asfa_couchbase_volume_o: ""
open_asfa_couchbase_volume_device: ""
open_asfa_couchbase_connect_string: "couchbase://{{ open_asfa_docker_stack_name }}_couchbase"
open_asfa_couchbase_username: "Administrator"
# open_asfa_couchbase_password: "use a vault"
open_asfa_couchbase_bucket: "harvester"
# resource limits
# cpus: '4.00'
# memory: 8192M
# resource reservations:
# cpus: '2.00'
# memory: 4096M
open_asfa_couchbase_cpu_limit: "4.00"
open_asfa_couchbase_cpu_reservation: "2.00"
open_asfa_couchbase_memory_limit: "8192M"
open_asfa_couchbase_memory_reservation: "4096M"
open_asfa_geoname_key: dicondina
open_asfa_agrovoc_url: "https://agrovoc.fao.org/"