new file structure & koneksi ke DB
This commit is contained in:
@@ -17,7 +17,7 @@ auth:
|
||||
jwt_secret: "vQ6PQqUyh7pBNOytClgN+Nw1XBq7F8Qo6VP3VwIqvHY=" # Change this in production!
|
||||
access_token_expiry: 1440 # minutes (24 hours)
|
||||
refresh_token_expiry: 168 # hours (7 days)
|
||||
enable_database_auth: false # Set to true when ready to use database
|
||||
enable_database_auth: true # Changed to true to use database
|
||||
|
||||
shortlink:
|
||||
base_url: "http://localhost:3333" # The base URL for generated OHIF Auth shortlinks
|
||||
@@ -27,9 +27,12 @@ shortlink:
|
||||
database:
|
||||
host: "localhost"
|
||||
port: 3306
|
||||
user: "dbuser"
|
||||
password: "dbpassword" # Consider using environment variables for sensitive data
|
||||
user: "root"
|
||||
password: "alfandi102938" # Change this to your MariaDB password
|
||||
name: "ohif_proxy"
|
||||
max_open_conns: 10
|
||||
max_idle_conns: 5
|
||||
conn_max_lifetime_mins: 60
|
||||
|
||||
allowed_origins:
|
||||
- "*" # For development; restrict this in production
|
||||
Reference in New Issue
Block a user