forked from cultuurnet/udb3-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml.dist
75 lines (74 loc) · 1.73 KB
/
config.yml.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Base URL of the silex application. Necessary to generate the IRIs of JSON-LD
# events.
url: http://example.com
uitid:
consumer:
key: ***
secret: ***
base_url: http://www.uitid.be/uitid/rest/
apis:
entry: entry/rest.uitdatabank.be/api/v2
search: searchv2
# ID of the user to impersonate for certain requests to the Entry API that use
# Light UiTID authentication.
impersonation_user_id: ***
sync_with_udb2: true
cors:
origins: []
log.search: []
log.command_bus:
#- type: hipchat
# token: ***
# room: ***
# level: ALERT
- type: file
path: ../log/command_bus.log
level: DEBUG
- type: socketioemitter
redis:
host: 127.0.0.1
port: 6379
#namespace: ***
#room: ***
level: INFO
database:
driver: pdo_mysql
dbname: ***
user: ***
password: ***
host: 127.0.0.1
swiftmailer.options:
# This connects to a mailserver at port 1025
# This is not the standard SMTP port, but the default port of Mailcatcher,
# a great tool for debugging mail. Check it out! http://mailcatcher.me/
host: 127.0.0.1
port: 1025
mail:
sender:
name: UiTdatabank BETA
address: no-reply@uitdatabank.be
export:
mail:
subject: Uw export van evenementen
amqp:
host: example.com
port: 5672
user: foo
password: bar
vhost: example
consumer_tag: udb3
consume:
udb2:
exchange: udb2.e.prod
queue: udb3.q.prod.udb2
prince:
binary: /usr/local/bin/prince
cache:
# Currently supported: "filesystem" or "redis"
active: redis
redis:
host: 127.0.0.1
database: 1
# Regular expression pattern to match valid event URLs.
# Use a capturing group named 'eventid' to extract the event's ID.
event_url_regex: https?://example\.com/event/(?<eventid>[a-zA-Z0-9\-]+)