summaryrefslogtreecommitdiff
path: root/c2ec/c2ec-config.conf
diff options
context:
space:
mode:
Diffstat (limited to 'c2ec/c2ec-config.conf')
-rw-r--r--c2ec/c2ec-config.conf58
1 files changed, 58 insertions, 0 deletions
diff --git a/c2ec/c2ec-config.conf b/c2ec/c2ec-config.conf
new file mode 100644
index 0000000..3d0f94b
--- /dev/null
+++ b/c2ec/c2ec-config.conf
@@ -0,0 +1,58 @@
+[c2ec]
+
+# Will force production specific configuration
+# for example the simulation terminal cannot be
+# used in production
+PROD = false
+
+# tcp or unix
+SERVE = tcp
+
+# only effective when SERVE = tcp
+HOST = localhost
+
+# only effective when SERVE = tcp
+PORT = 8082
+
+# only effective when SERVE = unix
+UNIXPATH = c2ec.sock
+
+# only effective when SERVE = unix
+UNIXPATH_MODE = 660
+
+# how shall the application behave if
+# an attestor is not configured?
+# forced when PROD = true
+FAIL_ON_MISSING_ATTESTORS = false
+
+# The account where the exchange receives payments
+# of the providers. Must be the same, in the providers
+# backend.
+EXCHANGE_ACCOUNT = payto://iban/CH50030202099498
+
+# How many retries shall be triggered, when the attestation
+# of a transaction fails
+MAX_RETRIES = 3
+
+# How long shall the attestations retry be delayed in milliseconds.
+RETRY_DELAY_MS = 1000
+
+[wire-gateway]
+
+USERNAME = wire
+
+PASSWORD = secret
+
+[database]
+
+CONFIG = postgres://local:local@localhost:5432/postgres
+
+[provider-wallee]
+
+NAME = Wallee
+CREDENTIALS_PASSWORD = secret
+
+[provider-simulation]
+
+NAME = Simulation
+CREDENTIALS_PASSWORD = secret