-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
database.yml
37 lines (32 loc) · 1.03 KB
/
database.yml
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
mysql:
dialect: "mysql"
database: "pop_test"
host: {{ envOr "MYSQL_HOST" "127.0.0.1" }}
port: {{ envOr "MYSQL_PORT" "3307" }}
user: {{ envOr "MYSQL_USER" "root" }}
password: {{ envOr "MYSQL_PASSWORD" "root" }}
postgres:
url: "postgres://postgres:postgres@localhost:5433/pop_test?sslmode=disable"
pool: 25
cockroach:
# url: "cockroach://[email protected]:26258/pop_test?application_name=cockroach&sslmode=disable"
dialect: "cockroach"
database: "pop_test"
host: {{ envOr "COCKROACH_HOST" "127.0.0.1" }}
port: {{ envOr "COCKROACH_PORT" "26258" }}
user: {{ envOr "COCKROACH_USER" "root" }}
password: {{ envOr "COCKROACH_PASSWORD" "" }}
options:
sslmode: disable
sqlserver:
dialect: "sqlserver"
database: "pop_test"
host: {{ envOr "MSSQLSERVER_HOST" "127.0.0.1" }}
port: {{ envOr "MSSQLSERVER_PORT" "1433" }}
user: {{ envOr "MSSQLSERVER_USER" "sa" }}
password: {{ envOr "MSSQLSERVER_PASSWORD" "Tt@12345678" }}
sqlite:
dialect: "sqlite3"
database: "./tmp/test.sqlite"
options:
mode: rwc