fix: adjust config.toml

This commit is contained in:
Sabda Yagra 2026-01-05 13:48:33 +07:00
parent ce2b7b4d18
commit ccc3dda29a
1 changed files with 4 additions and 4 deletions

View File

@ -7,16 +7,16 @@ domain = "https://kontenhumas.com/api"
external-port = ":8809" external-port = ":8809"
idle-timeout = 5 # As seconds idle-timeout = 5 # As seconds
print-routes = false print-routes = false
prefork = false prefork = true
production = false production = false
body-limit = 1048576000 # "100 * 1024 * 1024" body-limit = 1048576000 # "100 * 1024 * 1024"
primary-client-key = "78356d32-52fa-4dfc-b836-6cebf4e3eead" primary-client-key = "78356d32-52fa-4dfc-b836-6cebf4e3eead"
[db.postgres] [db.postgres]
dsn = "postgresql://netidhub_user:NetidhubDB%402025@38.47.185.79:5432/netidhub_db" # <driver>://<username>:<password>@<host>:<port>/<database> dsn = "postgresql://netidhub_user:NetidhubDB%402025@38.47.185.79:5432/netidhub_db" # <driver>://<username>:<password>@<host>:<port>/<database>
log-mode = "ERROR" log-mode = "NONE"
migrate = true migrate = true
seed = false seed = true
[logger] [logger]
log-dir = "debug.log" log-dir = "debug.log"
@ -25,7 +25,7 @@ level = 0 # panic -> 5, fatal -> 4, error -> 3, warn -> 2, info -> 1, debug -> 0
prettier = true prettier = true
[objectstorage.miniostorage] [objectstorage.miniostorage]
endpoint = "https://is3.cloudhost.id" endpoint = "is3.cloudhost.id"
access-key-id = "YRP1RM617986USRU6NN8" access-key-id = "YRP1RM617986USRU6NN8"
secret-access-key = "vfbwQDYb1m7nfzo4LVEz90BIyOWfBMZ6bfGQbqDO" secret-access-key = "vfbwQDYb1m7nfzo4LVEz90BIyOWfBMZ6bfGQbqDO"
use-ssl = true use-ssl = true