mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-03 10:53:49 +00:00
Fixed db ini
This commit is contained in:
1 parent
406715471d
commit
126c03313f
1 file changed
+36
@@ -0,0 +1,36 @@
|
||||
# The MongoDB configuration can be used both for a traditional
|
||||
# setup with one MongoDB server or for a master-slave setup.
|
||||
# The 'host' and 'port' options are mandatory and self-speaking for
|
||||
# traditional setup with one MongoDB server only. Inside a master-slave
|
||||
# setup both parameters define the SLAVE - the MASTER must be defined
|
||||
# using the 'master_host' option. There is no dedicated option for the
|
||||
# master port - we assume that both master and slave MongoDB hosts share
|
||||
# the same port number (for the sake of a consistent configuration).
|
||||
# 'host' should usually be set to 'localhost' since the application servers
|
||||
# connect to their local MongoDB slave servers. So 'master_host' is usually
|
||||
# pointing to some host other than 'localhost'.
|
||||
|
||||
[web]
|
||||
host = ${conf:mongodb_host}
|
||||
port = ${conf:mongodb_port}
|
||||
dbname = web
|
||||
username =
|
||||
password =
|
||||
collections = events races competitors
|
||||
|
||||
[winddb]
|
||||
host = localhost
|
||||
port = 10200
|
||||
dbname = winddb
|
||||
username =
|
||||
password =
|
||||
collections = WIND_TRACKS
|
||||
|
||||
[biography]
|
||||
host = ${conf:mongodb_host}
|
||||
port = ${conf:mongodb_port}
|
||||
dbname = biography
|
||||
username =
|
||||
password =
|
||||
collections = competitor_info
|
||||
|
||||
Reference in new issue
Block a user