forked from sharetribe/dumpr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdumpa-lib-configuration.edn
22 lines (21 loc) · 1.2 KB
/
dumpa-lib-configuration.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;; Example configuration file for development & testing. Override for
;; local dev time setup by adding a config/dumpa-dev-configuration.edn
;; file. And for local test setup by adding a
;; config/dumpa-test-configuration.edn file. Both files are git
;; ignored.
{:conn-params {
;; :subname "//127.0.0.1:3306/database_name?zeroDateTimeBehavior=convertToNull&tinyInt1isBit=false" ; Autogenerated when not given following this format.
:user "${DB_USER:dumpa_test}"
:password "${DB_PASSWORD:dumpa_test}"
:host "127.0.0.1"
:port "${DB_PORT:3306}"
:db "${DB:dumpa_test_db_123}"
:server-id 123 ; Has to be unique within replication cluster
:stream-keepalive-interval 10000
:stream-keepalive-timeout 3000
:query-max-keepalive-interval 10000
}
:id-fns {} ; {:table_no_primary_key :username}
:tables [] ; [:table_no_primary_key :another_table]
:filter-tables #{}
:test-db {:url "jdbc:mysql://localhost:${DB_PORT:3306}/${DB:dumpa_test_db_123}?useLegacyDatetimeCode=false&useSSL=false&user=${DB_USER:dumpa_test}&password=${DB_PASSWORD:dumpa_test}"}}