1c0eb91333
- change from mysql-connector-python to sqlalchemy - allow for connection to sqlite3, mysql, mariadb, postgres, and oracle databases - change `DATE` columns to `DATETIME` type - add WHO columns - install database connectors and required packages
12 lines
516 B
Plaintext
12 lines
516 B
Plaintext
LISTEN_ADDRESS=0.0.0.0 # Lisen on all interfaces
|
|
LISTEN_PORT=8080 # Internal port number
|
|
MPV_SOCKET=/tmp/mpvsocket # Path to mpv socket
|
|
LOGLEVEL=info
|
|
|
|
# Options:
|
|
# mysql+pymysql://<user>:<password>@<host>[:<port>]/<dbname> - works with MySQL and Mariadb
|
|
# postgresql+psycopg2://user:password@host:port/dbname[?key=value&key=value...]
|
|
# sqlite:///path
|
|
# oracle+oracledb://user:pass@hostname:port[/dbname][?service_name=<service>[&key=value&key=value...]]
|
|
DATABASE_URL=mysql+pymysql://user:password@localhost:3306/mpv
|