30 lines
652 B
TOML
30 lines
652 B
TOML
|
|
## See: https://github.com/sosedoff/pgweb/wiki/Server-Connection-Bookmarks
|
|
|
|
|
|
## Example 1: local-server.toml
|
|
|
|
host = "localhost"
|
|
port = 5432
|
|
user = "postgres"
|
|
database = "mydatabase"
|
|
sslmode = "disable"
|
|
|
|
## Example 2: ssh-tunnel-to-db.toml
|
|
|
|
# host = "rds-db-name.cluster-asdf.us-east-1.rds.amazonaws.com"
|
|
# port = 5432
|
|
# user = "rds-username"
|
|
# password = "rds-password"
|
|
# database = "rds-database-name"
|
|
#
|
|
# [SSH]
|
|
# host = "ec2-111-111-111-111.compute-1.amazonaws.com"
|
|
# user = "ec2-user"
|
|
# key = "/path/to/key-file"
|
|
# key_password = "key-file-password"
|
|
|
|
## Example 3: just-url.toml
|
|
|
|
# url = "postgres://user:password@host:port/database?sslmode=mode"
|