ansible-taler-exchange

Ansible playbook to deploy a production Taler Exchange
Log | Files | Refs | Submodules | README | LICENSE

challenger-postal.conf.j2 (1567B)


      1 # General settings for the backend.
      2 [challenger]
      3 
      4 # Use TCP or UNIX domain sockets?
      5 SERVE = UNIX
      6 
      7 # Which unix domain path should we bind to? Only used if "SERVE" is 'unix'.
      8 UNIXPATH = /run/challenger-postal/challenger-http.sock
      9 
     10 # What should be the file access permissions (see chmod) for "UNIXPATH"?
     11 UNIXPATH_MODE = 666
     12 
     13 # Which external command should be used to transmit challenges?
     14 # Example commands are challenger-send-{sms,email,post}
     15 AUTH_COMMAND = /usr/bin/challenger-send-post
     16 
     17 # Publicly visible base URL of the challenger.
     18 # BASE_URL = https://example.com/
     19 BASE_URL = https://postal.challenger.{{ domain_name }}/
     20 
     21 # How long is an individual validation request valid?
     22 VALIDATION_DURATION = 45d
     23 
     24 # How long is an validation valid?
     25 VALIDATION_EXPIRATION = 3650d
     26 
     27 # Name of a file with the message to send with the challenge.
     28 MESSAGE_TEMPLATE_FILE = /etc/challenger/postal-message-template.txt
     29 
     30 # What address type are we validating? (phone, email, postal, etc.)
     31 # A template of the form 'enter-$ADDRESS_TYPE-form' must
     32 # exist and the field names must be supported by the
     33 # AUTH_COMMAND.
     34 #
     35 ADDRESS_TYPE = postal-ch
     36 
     37 # Hint to show on the address format.
     38 ADDRESS_HINT = {{ EXCHANGE_AML_PROGRAM_TOPS_POSTAL_EXAMPLE }}
     39 
     40 # What addresses are allowed.
     41 ADDRESS_RESTRICTIONS = {"COUNTRY_CODE":{"hint":"{{ EXCHANGE_AML_PROGRAM_TOPS_POSTAL_COUNTRY_HINT }}","regex":"^{{ EXCHANGE_AML_PROGRAM_TOPS_POSTAL_COUNTRY_REGEX }}$"}}
     42 
     43 [challengerdb-postgres]
     44 #The connection string the plugin has to use for connecting to the database
     45 CONFIG = postgres:///challenger-postal