-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-example.ini
166 lines (126 loc) · 4.3 KB
/
config-example.ini
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
### Welcome to the wordpress-hash-event-api configuration file.
# The values in this file override the default values used by the system if
# a config option is not specified. The commented out lines are the configuration
# field and the default value used. Uncommenting a line and changing the value
# will change the value used at runtime when the process is restarted.
# All values can be overwritten by environment variables.
# The schema:
# SECTION_VAR_NAME=VALUE
#
# concatenate section name and var name with an underscore.
# environment vars are read case insensitive.
# example:
# DATABASE_PASSWORD=Sup3rS3cur31!11!
###
### [main]
###
### Controls the parameters for logging.
###
[main]
# Logs will always be printed to stdout/stderr.
# Logging can be set to following log levels
# ERROR: Fatal Errors which stops the API
# WARNING: Warning messages won't stop the API but mostly worth
# to have a look at.
# INFO: Information about API start and each API query
# DEBUG: Will log information about retrieved information, changes in internal
# data structure and parsed config
#
#log_level = INFO
###
### [api]
###
### Controls the API settings
###
[api]
# Setting an API token will require this token to be set on each API request.
# The HTTP header need to be specified like this:
# Authorization: Token <the token defined in this var>
#
# If this option is disabled, no token is necessary to access the API (default)
#
# An API token can easily generated with following command:
# openssl rand -hex 24
#api_token =
# Defines the url path to access the API root path.
# Needs to match your webserver/reverse proxy configuration
#api_root_path = /api/v1
###
### [app]
###
### Controls the run data settings
###
[app]
# Define one or more kennels which are managed through this instance.
# On event creation one of these kennels can be selected.
# Default kennel needs to be first in list
# The list needs to be comma separated. Use quotes if name contains commas
# This setting is mandatory
hash_kennels = Nerd H3, Nerd Full Moon H3
# This options defines the default value of Hash Cash for a run
#default_hash_cash =
#default_hash_cash_non_members =
# Define which run type should be set if no run type was defined
#default_run_type = Regular Run
# Set the currency for Hash Cash. Name or currency symbol.
# examples:
# €
# $
# USD
#default_currency =
# Define a default time zone of run times.
# If this option is undefined the value will be read from the DB
#timezone_string = Europe/Berlin
# If you are also running a public Facebook group then you can
# add the FaceBook group ID here. This ID will be added to each run.
#default_facebook_group_id =
# Define a maps url (google, apple, open street map) template,
# params "lat" and "long" will be substituted if present for a run
# and field "Maps Location URL" has not been defined.
#maps_url_template = https://www.openstreetmap.org/?mlat={lat}&mlon={long}#map=17/{lat}/{long}
###
### [listmonk]
###
### settings to connect to listmonk to prepare/send newsletter campaign
###
[listmonk]
# Setting this option to true enables the listmonk integration
#enabled = false
# defines if the campaign should be sent out immediately after it got created
#send_campaign = false
# defines the admin credentials in order to connect to the listmonk API
#username =
#password =
# defines the listmonk host name to connect to
#host = list.example.com
# The id of the campaign template to use, if empty the default template is used
#campaign_template_id =
# The id of the template to use which then is posted as content to the campaign
#body_template_id =
# the id or ids of the list to send this campaign to
#list_ids =
###
### [calendar]
###
### settings for exposing runs as icalendar events
###
[calendar]
# define a default name for the calendar
#name = Nerd H3 events
# Adds an alarm of one hour before the event to each event
#enable_event_alarm = true
# Define the number weeks of past events to add to calendar data
#num_past_weeks_exposed = 2
###
### [database]
###
### settings to connect to the WordPress database
###
[database]
# database parameters to use for connection
# all are mandatory except port (default: 3306)
username = nerd-db-user
password = run-beer-sleep-repeat
name = wp_my_hash_blog
host = localhost
#port = 3306