You can specify Jet Bridge configuration through one of the following methods:
command-line arguments, config file, or environment variables. Here are examples:
Method 1. Command-line arguments
Warning: arguments name should be lowercase. Other methods are case insensitive
1
jet_bridge --database_engine=postgresql \
2
--database_host=localhost \
3
--database_port=5432\
4
--database_user=user \
5
--database_password=password \
6
--database_name=mydb
Copied!
Method 2. Config file
jet.ini
1
[JET]
2
DATABASE_ENGINE=postgresql
3
DATABASE_HOST=localhost
4
DATABASE_PORT=5432
5
DATABASE_NAME=mydb
6
DATABASE_USER=user
7
DATABASE_PASSWORD=password
Copied!
Method 3. Environment variables
1
DATABASE_ENGINE=postgresql \
2
DATABASE_HOST=localhost \
3
DATABASE_PORT=5432\
4
DATABASE_NAME=mydb \
5
DATABASE_USER=user \
6
DATABASE_PASSWORD=password \
7
jet_bridge
Copied!
All available settings
Required settings
Name
Description
DATABASE_ENGINE
Database engine, one of:
postgresql
mysql
oracle
mssql+pyodbc
sqlite